From dfbb7886290112eba7addbff848cec510fa25701 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 5 Dec 2022 17:26:04 +0100 Subject: [PATCH] oops --- changedetectionio/tests/test_notification_errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/tests/test_notification_errors.py b/changedetectionio/tests/test_notification_errors.py index d3f5f3949..c7daee580 100644 --- a/changedetectionio/tests/test_notification_errors.py +++ b/changedetectionio/tests/test_notification_errors.py @@ -60,7 +60,7 @@ def test_check_notification_error_handling(client, live_server): # The error should show in the notification logs res = client.get( url_for("notification_logs")) - found_name_resolution_error = b"Temporary failure in name resolution" or b"Name or service not known" in res.data + found_name_resolution_error = b"Temporary failure in name resolution" in res.data or b"Name or service not known" in res.data assert found_name_resolution_error client.get(url_for("form_delete", uuid="all"), follow_redirects=True)