We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 301dfd2 commit c0a673fCopy full SHA for c0a673f
tests/test_routes/test_status.py
@@ -378,6 +378,7 @@ async def test_post_status_sends_looming(
378
mock_get_settings.return_value.website_hostname = (
379
"https://rctab-t1-teststack.azurewebsites.net/"
380
)
381
+ mock_get_settings.return_value.expiry_email_freq = [1, 7, 30]
382
383
mock_send_email = mocker.patch(
384
"rctab.routers.accounting.send_emails.send_with_sendgrid"
@@ -487,7 +488,6 @@ async def test_post_status_sends_looming(
487
488
489
490
assert mock_send_email.call_count == 3
- # mock_send_email.assert_has_calls([welcome_call, new_approval_call, expiry_call])
491
mock_send_email.assert_has_calls([welcome_call, new_approval_call, expiry_call])
492
493
0 commit comments