Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
nmenezes0 committed Aug 13, 2024
1 parent dc82989 commit f9bb525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_emails.py
Original file line number Diff line number Diff line change
@@ -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 protected]",), ("[email protected]",)])
def test_magic_link_email(email):
send_magic_link_email(
Expand All @@ -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

0 comments on commit f9bb525

Please sign in to comment.