From 0a8c339535d0d245eef77b26302188a99180ec0b Mon Sep 17 00:00:00 2001 From: Leigh Morresi <275001+dgtlmoon@users.noreply.github.com> Date: Sun, 21 Feb 2021 21:08:04 +0100 Subject: [PATCH] Add test delay for github action test --- backend/tests/test_backend.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/tests/test_backend.py b/backend/tests/test_backend.py index 28ef91ac..e2040da0 100644 --- a/backend/tests/test_backend.py +++ b/backend/tests/test_backend.py @@ -58,6 +58,8 @@ def test_check_basic_change_detection_functionality(client, live_server): ) assert b"1 Imported" in res.data + time.sleep(sleep_time_for_fetch_thread) + # Do this a few times.. ensures we dont accidently set the status for n in range(3): client.get(url_for("api_watch_checknow"), follow_redirects=True)