Skip to content

Commit 74e9505

Browse files
Restore mocking
1 parent 98d1121 commit 74e9505

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/backend/src/tests/test_email.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def mock_queue_email(session, payload):
195195
assert friend_relationship is not None
196196
moderator.approve_friend_request(friend_relationship.id)
197197

198-
with patch("couchers.email.queuing.queue_email", mock_queue_email):
198+
with patch("couchers.email.queuing._queue_email", mock_queue_email):
199199
with pytest.raises(Exception) as e:
200200
process_jobs()
201201

0 commit comments

Comments
 (0)