was simply the wrong hostname

pull/1264/head
dgtlmoon 2 years ago
parent 5f997e5d1b
commit 794a6d59de

@ -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 \

@ -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
#

Loading…
Cancel
Save