From b6089969862a412bebcb053b482396b1097fea37 Mon Sep 17 00:00:00 2001 From: Jin-Sun-tts Date: Mon, 2 Dec 2024 11:48:07 -0500 Subject: [PATCH] added test for sending notitication --- tests/integration/harvest/test_harvest_full_flow.py | 1 - 1 file changed, 1 deletion(-) 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"