diff --git a/changedetectionio/model/App.py b/changedetectionio/model/App.py index f2b79e6e..6e74d483 100644 --- a/changedetectionio/model/App.py +++ b/changedetectionio/model/App.py @@ -5,7 +5,7 @@ from changedetectionio.notification import ( default_notification_title, ) -_FILTER_FAILURE_THRESHOLD_ATTEMPTS_DEFAULT = 5 +_FILTER_FAILURE_THRESHOLD_ATTEMPTS_DEFAULT = 6 class model(dict): base_config = { diff --git a/changedetectionio/tests/test_filter_failure_notification.py b/changedetectionio/tests/test_filter_failure_notification.py index e70461f7..17dff1f3 100644 --- a/changedetectionio/tests/test_filter_failure_notification.py +++ b/changedetectionio/tests/test_filter_failure_notification.py @@ -108,7 +108,7 @@ def test_check_notification(client, live_server): for i in range(0, App._FILTER_FAILURE_THRESHOLD_ATTEMPTS_DEFAULT): client.get(url_for("form_watch_checknow"), follow_redirects=True) time.sleep(3) - + # It should have sent a notification, but.. assert os.path.isfile("test-datastore/notification.txt") # but it should not contain the info about the failed filter