aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2017-03-11 03:04:38 +0100
committerGitHub <noreply@github.com>2017-03-11 03:04:38 +0100
commit39154e628e8db58db01b5d8f2fd4080736d79bb6 (patch)
treeba3da75850d888a48844a0f6240e129ffc0602b2 /test
parente9746c51820aadcbb2ddbfa8fc963d9023dd6991 (diff)
parentf3df4855aff135ef5d4206ce0d3c988671c415db (diff)
downloadmitmproxy-39154e628e8db58db01b5d8f2fd4080736d79bb6.tar.gz
mitmproxy-39154e628e8db58db01b5d8f2fd4080736d79bb6.tar.bz2
mitmproxy-39154e628e8db58db01b5d8f2fd4080736d79bb6.zip
Merge pull request #2118 from lymanZerga11/patch-3
Update proxyauth.py to add proxyauth metadata
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 14782755..513f3f08 100644
--- a/test/mitmproxy/addons/test_proxyauth.py
+++ b/test/mitmproxy/addons/test_proxyauth.py
@@ -173,3 +173,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')