fix bad test

This commit is contained in:
dgtlmoon
2022-10-11 13:52:48 +02:00
parent 0f63dca9f7
commit d9ed04ee56
2 changed files with 6 additions and 2 deletions

View File

@@ -92,7 +92,6 @@ def wait_for_all_checks(client):
if not b'Checking now' in res.data:
break
logging.getLogger().info("Waiting for watch-list to not say 'Checking now'.. {}".format(attempt))
attempt += 1
def live_server_setup(live_server):

View File

@@ -25,7 +25,12 @@ def test_visual_selector_content_ready(client, live_server):
res = client.post(
url_for("edit_page", uuid="first", unpause_on_save=1),
data={"css_filter": ".does-not-exist", "url": test_url, "tag": "", "headers": "", 'fetch_backend': "html_webdriver"},
data={
"url": test_url,
"tag": "",
"headers": "",
'fetch_backend': "html_webdriver"
},
follow_redirects=True
)
assert b"unpaused" in res.data