Skip to content

Commit

Permalink
fix: fix package names
Browse files Browse the repository at this point in the history
  • Loading branch information
evemartin committed Apr 4, 2024
1 parent 261cf33 commit 0aa6d29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion portal/tests/test_independent_student.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def test_signup_invalid_name_fails(self):
# Assert response isn't a redirect (submit failure)
assert response.status_code == 200

@patch("common.emails.send_dotdigital_email")
@patch("common.helpers.emails.send_dotdigital_email")
def test_signup_under_13_sends_parent_email(self, mock_send_dotdigital_email: Mock):
c = Client()

Expand Down
4 changes: 2 additions & 2 deletions portal/tests/test_ratelimit.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def test_lockout_reset_tracking(self):


@pytest.mark.django_db
@patch("common.emails.send_dotdigital_email")
@patch("common.helpers.emails.send_dotdigital_email")
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 @@ -462,7 +462,7 @@ def test_teacher_already_registered_email(client, mock_send_dotdigital_email: Mo


@pytest.mark.django_db
@patch("common.emails.send_dotdigital_email")
@patch("common.helpers.emails.send_dotdigital_email")
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 0aa6d29

Please sign in to comment.