From 232b26176984b6bf8814836cfc3cb34254697de8 Mon Sep 17 00:00:00 2001 From: gromdimon Date: Fri, 10 Nov 2023 18:19:48 +0100 Subject: [PATCH] fix3 --- backend/tests/api/api_v1/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/tests/api/api_v1/test_utils.py b/backend/tests/api/api_v1/test_utils.py index 768a6149..483fcc53 100644 --- a/backend/tests/api/api_v1/test_utils.py +++ b/backend/tests/api/api_v1/test_utils.py @@ -36,7 +36,7 @@ async def test_test_email_superuser( ): """Test sending an email as superuser.""" # Mock the send_test_email function - monkeypatch.setattr("app.api.endpoints.utils.send_test_email", lambda email_to: None) + monkeypatch.setattr("app.api.api_v1.endpoints.utils.send_test_email", lambda email_to: None) _ = db_session email_to = "test1@example.com" response = client_user.post(