Skip to content

Commit

Permalink
fix: testing something out
Browse files Browse the repository at this point in the history
  • Loading branch information
evemartin committed Apr 4, 2024
1 parent 8add1ec commit ea6239a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions portal/tests/test_ratelimit.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ def test_lockout_reset_tracking(self):


@patch("common.helpers.emails.send_dotdigital_email")
@pytest.mark.django_db
def test_teacher_already_registered_email(client, mock_send_dotdigital_email: Mock):
first_name, last_name, email, password = generate_details()
register_url = reverse("register")
Expand Down Expand Up @@ -461,6 +462,7 @@ def test_teacher_already_registered_email(client, mock_send_dotdigital_email: Mo


@patch("common.helpers.emails.send_dotdigital_email")
@pytest.mark.django_db
def test_independent_student_already_registered_email(client, mock_send_dotdigital_email: Mock):
name, username, email_address, password = generate_independent_student_details()
register_url = reverse("register")
Expand Down

0 comments on commit ea6239a

Please sign in to comment.