tests/test_mail.py
File test_mail.py
has 320 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
from dataclasses import dataclass, field
from unittest import TestCase
from unittest.mock import MagicMock, patch
from sipa.mail import send_contact_mail, send_complex_mail, \