Add test delay for github action test

This commit is contained in:
Leigh Morresi
2021-02-21 21:08:04 +01:00
parent cd5b703037
commit 0a8c339535

View File

@@ -58,6 +58,8 @@ def test_check_basic_change_detection_functionality(client, live_server):
) )
assert b"1 Imported" in res.data 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 # Do this a few times.. ensures we dont accidently set the status
for n in range(3): for n in range(3):
client.get(url_for("api_watch_checknow"), follow_redirects=True) client.get(url_for("api_watch_checknow"), follow_redirects=True)