Minor test improvements

This commit is contained in:
dgtlmoon
2022-11-20 11:35:35 +01:00
committed by GitHub
parent f066a1c38f
commit d07d7a1b18
3 changed files with 2 additions and 12 deletions

View File

@@ -19,6 +19,7 @@ def test_basic_auth(client, live_server):
follow_redirects=True
)
assert b"1 Imported" in res.data
time.sleep(1)
# Check form validation
res = client.post(
@@ -28,8 +29,6 @@ def test_basic_auth(client, live_server):
)
assert b"Updated watch." in res.data
# Trigger a check
client.get(url_for("form_watch_checknow"), follow_redirects=True)
time.sleep(1)
res = client.get(
url_for("preview_page", uuid="first"),