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