website/moneybirdsynchronization/tests/test_services.py
File test_services.py
has 476 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
from random import randint
from unittest import mock
from django.test import TestCase, override_settings
from django.utils import timezone
- Create a ticketCreate a ticket
Function test_sync_contacts
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def test_sync_contacts(
self,
mock_sync_contacts_with_outdated_mandates,
mock_create_or_update_contact,
mock_delete_contact,
- Create a ticketCreate a ticket