|
|
@ -38,13 +38,12 @@ def test_select_custom(client, live_server):
|
|
|
|
res = client.get(url_for("index"))
|
|
|
|
res = client.get(url_for("index"))
|
|
|
|
assert b'Proxy Authentication Required' not in res.data
|
|
|
|
assert b'Proxy Authentication Required' not in res.data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
res = client.get(
|
|
|
|
res = client.get(
|
|
|
|
url_for("preview_page", uuid="first"),
|
|
|
|
url_for("preview_page", uuid="first"),
|
|
|
|
follow_redirects=True
|
|
|
|
follow_redirects=True
|
|
|
|
)
|
|
|
|
)
|
|
|
|
# We should see something via proxy
|
|
|
|
# We should see something via proxy
|
|
|
|
assert b'HEAD' in res.data
|
|
|
|
assert b'<div class=""> - 0.' in res.data
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Now we should see the request in the container logs for "squid-squid-custom" because it will be the only default
|
|
|
|
# Now we should see the request in the container logs for "squid-squid-custom" because it will be the only default
|
|
|
|