diff --git a/changedetectionio/tests/test_history_consistency.py b/changedetectionio/tests/test_history_consistency.py index e260418a..9e58e201 100644 --- a/changedetectionio/tests/test_history_consistency.py +++ b/changedetectionio/tests/test_history_consistency.py @@ -45,7 +45,7 @@ def test_consistent_history(client, live_server, measure_memory_usage): # assert the right amount of watches was found in the JSON assert len(json_obj['watching']) == len(r), "Correct number of watches was found in the JSON" - + i=0 # each one should have a history.txt containing just one line i=0 for w in json_obj['watching'].keys(): diff --git a/changedetectionio/tests/util.py b/changedetectionio/tests/util.py index da255089..0678e5ed 100644 --- a/changedetectionio/tests/util.py +++ b/changedetectionio/tests/util.py @@ -136,6 +136,9 @@ def wait_for_all_checks(client=None): # Configuration attempt = 0 + + i=0 + max_attempts = 60 wait_between_attempts = 2 required_empty_duration = 2