From 35f9bdc8b0d5e3c343cea1c3978067ac73e93011 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Fri, 7 Jun 2024 09:14:40 +0200 Subject: [PATCH] NFI --- changedetectionio/tests/util.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/changedetectionio/tests/util.py b/changedetectionio/tests/util.py index 8a980bd8..ed7269de 100644 --- a/changedetectionio/tests/util.py +++ b/changedetectionio/tests/util.py @@ -124,13 +124,12 @@ def extract_UUID_from_client(client): def wait_for_all_checks(client): # Loop waiting until done.. attempt = 0 - time.sleep(1) while attempt < 60: + time.sleep(1) res = client.get(url_for("index")) if not b'Checking now' in res.data: break logging.getLogger().info("Waiting for watch-list to not say 'Checking now'.. {}".format(attempt)) - time.sleep(1) attempt += 1 def live_server_setup(live_server):