From dd6210a7d544555488f9f4993b381795f43ee486 Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Tue, 1 Oct 2024 15:54:36 +0100 Subject: [PATCH] fix flaky test --- tests/app/clients/test_aws_ses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/clients/test_aws_ses.py b/tests/app/clients/test_aws_ses.py index cc374a5af9..5b9c8dec2f 100644 --- a/tests/app/clients/test_aws_ses.py +++ b/tests/app/clients/test_aws_ses.py @@ -190,7 +190,7 @@ def test_send_email_does_not_raise_AwsSesClientThrottlingSendRateException_if_no ) -def test_send_email_raises_other_errs_as_AwsSesClientException(mocker): +def test_send_email_raises_other_errs_as_AwsSesClientException(mocker, notify_api): boto_mock = mocker.patch.object(aws_ses_client, "_client", create=True) mocker.patch.object(aws_ses_client, "statsd_client", create=True) error_response = {