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