From ea6239a787defdef320624a1a84d863525ab1d73 Mon Sep 17 00:00:00 2001 From: Eve Martin Date: Thu, 4 Apr 2024 11:51:36 +0000 Subject: [PATCH] fix: testing something out --- portal/tests/test_ratelimit.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/portal/tests/test_ratelimit.py b/portal/tests/test_ratelimit.py index 68e669337..da8f71e12 100644 --- a/portal/tests/test_ratelimit.py +++ b/portal/tests/test_ratelimit.py @@ -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") @@ -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")