From 160c267e9f8ccf95adab724a060b5d26463ee5d4 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 9 Sep 2024 18:09:03 +0200 Subject: [PATCH] add elay --- changedetectionio/tests/test_filter_failure_notification.py | 1 + 1 file changed, 1 insertion(+) diff --git a/changedetectionio/tests/test_filter_failure_notification.py b/changedetectionio/tests/test_filter_failure_notification.py index 24ae405f..9632ab60 100644 --- a/changedetectionio/tests/test_filter_failure_notification.py +++ b/changedetectionio/tests/test_filter_failure_notification.py @@ -105,6 +105,7 @@ def run_filter_test(client, live_server, content_filter): res = client.get(url_for("index")) assert b'Warning, no filters were found' in res.data + time.sleep(2) # One more check should trigger the _FILTER_FAILURE_THRESHOLD_ATTEMPTS_DEFAULT threshold client.get(url_for("form_watch_checknow"), follow_redirects=True) wait_for_all_checks(client)