diff --git a/tests/unit/test_emails.py b/tests/unit/test_emails.py index 35ecf28e..60b196b9 100644 --- a/tests/unit/test_emails.py +++ b/tests/unit/test_emails.py @@ -1,8 +1,9 @@ -from django.core import mail import pytest +from django.core import mail from consultation_analyser.email import send_magic_link_email + @pytest.mark.parametrize("email", [("email@example.com",), ("EMAIL@Example.com",)]) def test_magic_link_email(email): send_magic_link_email( @@ -14,4 +15,3 @@ def test_magic_link_email(email): assert sent_mail.subject == "Sign in to Consult" assert [email] == sent_mail.to assert "https://example.com" in sent_mail.body -