|
|
|
@ -38,7 +38,7 @@ def test_select_custom(client, live_server):
|
|
|
|
|
res = client.get(url_for("index"))
|
|
|
|
|
assert b'Proxy Authentication Required' not in res.data
|
|
|
|
|
|
|
|
|
|
with open('/tmp/info2.html', 'wb') as f:
|
|
|
|
|
with open('info2.html', 'wb') as f:
|
|
|
|
|
f.write(res.data)
|
|
|
|
|
|
|
|
|
|
res = client.get(
|
|
|
|
@ -46,7 +46,7 @@ def test_select_custom(client, live_server):
|
|
|
|
|
follow_redirects=True
|
|
|
|
|
)
|
|
|
|
|
# We should see something via proxy
|
|
|
|
|
with open('/tmp/info.html', 'wb') as f:
|
|
|
|
|
with open('info.html', 'wb') as f:
|
|
|
|
|
f.write(res.data)
|
|
|
|
|
assert b'HEAD' in res.data
|
|
|
|
|
|
|
|
|
|