more tests

This commit is contained in:
Kenneth Kehl
2025-07-01 15:12:52 -07:00
parent fe1e1442f1
commit 2b26269d4a

View File

@@ -1789,7 +1789,6 @@ def test_save_api_email_or_sms_sqlalchemy_error_with_max_retries():
"app.celery.tasks.current_app.logger.exception"
) as mock_exception:
save_api_email_or_sms(mock_self, encrypted)
mock_exception.assert_called_once()
assert "Max retry failed" in mock_exception.call_args[0][0]