aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorlymanZerga11 <lymanZerga11@users.noreply.github.com>2017-03-09 09:01:04 +0800
committerGitHub <noreply@github.com>2017-03-09 09:01:04 +0800
commit6d53d08b6c6e55e1ce787ca8f0110351723fc21d (patch)
tree133d9678f1cebd53ac73a5ea7db7666eb9e2c159 /test
parent618e0c62656a992d929900de57e23b18cb3d6d3d (diff)
downloadmitmproxy-6d53d08b6c6e55e1ce787ca8f0110351723fc21d.tar.gz
mitmproxy-6d53d08b6c6e55e1ce787ca8f0110351723fc21d.tar.bz2
mitmproxy-6d53d08b6c6e55e1ce787ca8f0110351723fc21d.zip
Add tests
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/addons/test_proxyauth.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/mitmproxy/addons/test_proxyauth.py b/test/mitmproxy/addons/test_proxyauth.py
index dd5829ab..8b64a21b 100644
--- a/test/mitmproxy/addons/test_proxyauth.py
+++ b/test/mitmproxy/addons/test_proxyauth.py
@@ -171,3 +171,4 @@ def test_handlers():
f2 = tflow.tflow(client_conn=f.client_conn)
up.requestheaders(f2)
assert not f2.response
+ assert f2.metadata["proxyauth"] == ('test','test')