From d6470bc963747cce0eb3c9d98e75eff05fd62003 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 19 Mar 2025 23:59:27 +0100 Subject: [PATCH] fix test --- changedetectionio/tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/tests/test_api.py b/changedetectionio/tests/test_api.py index 097133fe..58a520da 100644 --- a/changedetectionio/tests/test_api.py +++ b/changedetectionio/tests/test_api.py @@ -377,7 +377,7 @@ def test_api_import(client, live_server, measure_memory_usage): api_key = extract_api_key_from_UI(client) res = client.post( - url_for("import") + "?tag=import-test", + url_for("imports.import_page") + "?tag=import-test", data='https://website1.com\r\nhttps://website2.com', headers={'x-api-key': api_key}, follow_redirects=True