svthalia/concrexit

View on GitHub
website/moneybirdsynchronization/tests/test_services.py

Summary

Maintainability
C
1 day
Test Coverage

File test_services.py has 476 lines of code (exceeds 250 allowed). Consider refactoring.
Open

from random import randint
from unittest import mock

from django.test import TestCase, override_settings
from django.utils import timezone
Severity: Minor
Found in website/moneybirdsynchronization/tests/test_services.py - About 7 hrs to fix

Function test_sync_contacts has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def test_sync_contacts(
        self,
        mock_sync_contacts_with_outdated_mandates,
        mock_create_or_update_contact,
        mock_delete_contact,
Severity: Minor
Found in website/moneybirdsynchronization/tests/test_services.py - About 1 hr to fix

There are no issues that match your filters.

Category
Status