diff --git a/tests/integration/harvest/test_harvest_full_flow.py b/tests/integration/harvest/test_harvest_full_flow.py index e921850..04bd67f 100644 --- a/tests/integration/harvest/test_harvest_full_flow.py +++ b/tests/integration/harvest/test_harvest_full_flow.py @@ -211,7 +211,6 @@ def test_harvest_send_notification_failure( mock_smtp.side_effect = Exception("SMTP connection failed") error_message = harvest_source.send_notification_emails(results) - assert mock_smtp.called, "Mock SMTP was not called!" assert mock_smtp.side_effect is not None, "Mock SMTP side_effect was not set!" assert error_message == "Error preparing or sending notification emails"