From df54f6a309d3d7858eb34caa76ba2ce758c6e2ac Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 27 Jun 2023 12:13:02 +0200 Subject: [PATCH] remove delay --- changedetectionio/tests/test_api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/changedetectionio/tests/test_api.py b/changedetectionio/tests/test_api.py index c19812abc..23051454d 100644 --- a/changedetectionio/tests/test_api.py +++ b/changedetectionio/tests/test_api.py @@ -267,7 +267,7 @@ def test_api_watch_PUT_update(client, live_server): #live_server_setup(live_server) api_key = extract_api_key_from_UI(client) - time.sleep(1) + # Create a watch set_original_response() test_url = url_for('test_endpoint', _external=True, @@ -283,7 +283,6 @@ def test_api_watch_PUT_update(client, live_server): assert res.status_code == 201 - time.sleep(1) # Get a listing, it will be the first one res = client.get(