From 1dd5c6fd4dfa74365543af2ae2c7e69e918ccdbe Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Fri, 7 Jun 2024 08:57:28 +0200 Subject: [PATCH] tweaks --- changedetectionio/tests/util.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/changedetectionio/tests/util.py b/changedetectionio/tests/util.py index 67b22419..8a980bd8 100644 --- a/changedetectionio/tests/util.py +++ b/changedetectionio/tests/util.py @@ -120,10 +120,11 @@ def extract_UUID_from_client(client): uuid = m.group(1) return uuid.strip() + def wait_for_all_checks(client): # Loop waiting until done.. - attempt=0 - time.sleep(0.1) + attempt = 0 + time.sleep(1) while attempt < 60: res = client.get(url_for("index")) if not b'Checking now' in res.data: