diff --git a/changedetectionio/run_proxy_tests.sh b/changedetectionio/run_proxy_tests.sh index 21dc7a61..1761bae1 100755 --- a/changedetectionio/run_proxy_tests.sh +++ b/changedetectionio/run_proxy_tests.sh @@ -11,7 +11,7 @@ docker run --network changedet-network -d --name squid-two --hostname squid-two # Used for configuring a custom proxy URL via the UI docker run --network changedet-network -d \ --name squid-custom \ - --hostname squid-squid-custom \ + --hostname squid-custom \ --rm \ -v `pwd`/tests/proxy_list/squid-auth.conf:/etc/squid/conf.d/debian.conf \ -v `pwd`/tests/proxy_list/squid-passwords.txt:/etc/squid3/passwords \ diff --git a/changedetectionio/tests/proxy_list/test_select_custom_proxy.py b/changedetectionio/tests/proxy_list/test_select_custom_proxy.py index a80e4fa1..7dd9dc5f 100644 --- a/changedetectionio/tests/proxy_list/test_select_custom_proxy.py +++ b/changedetectionio/tests/proxy_list/test_select_custom_proxy.py @@ -38,16 +38,11 @@ def test_select_custom(client, live_server): res = client.get(url_for("index")) assert b'Proxy Authentication Required' not in res.data - with open('info2.html', 'wb') as f: - f.write(res.data) - res = client.get( url_for("preview_page", uuid="first"), follow_redirects=True ) # We should see something via proxy - with open('info.html', 'wb') as f: - f.write(res.data) assert b'HEAD' in res.data #