From fbbe9cf256999294e6ab1b59ea09a5adc6e4bbb7 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Fri, 27 Mar 2026 10:44:54 +0100 Subject: [PATCH] hostname connect fix for playwright etc --- changedetectionio/tests/test_errorhandling.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/changedetectionio/tests/test_errorhandling.py b/changedetectionio/tests/test_errorhandling.py index ee48fb32..87a68170 100644 --- a/changedetectionio/tests/test_errorhandling.py +++ b/changedetectionio/tests/test_errorhandling.py @@ -24,8 +24,8 @@ def _runner_test_http_errors(client, live_server, http_code, expected_text, data if os.getenv("PLAYWRIGHT_DRIVER_URL") or os.getenv('WEBDRIVER_URL'): logger.warning("!!! Looks like we're running test with playwright or selenium, so FORCE a connection back to our container 'cdio'") - test_url = test_url.replace('localhost.localdomain', 'cdio') - test_url = test_url.replace('localhost', 'cdio') + test_url = test_url.replace('localhost.localdomain', 'changedet') + test_url = test_url.replace('localhost', 'changedet') uuid = client.application.config.get('DATASTORE').add_watch(url=test_url) client.get(url_for("ui.form_watch_checknow"), follow_redirects=True)