From 6d53d08b6c6e55e1ce787ca8f0110351723fc21d Mon Sep 17 00:00:00 2001 From: lymanZerga11 Date: Thu, 9 Mar 2017 09:01:04 +0800 Subject: Add tests --- test/mitmproxy/addons/test_proxyauth.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test') 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') -- cgit v1.2.3 From 8e67c6f512e53854bec567a0b1cc42bf34b6cedf Mon Sep 17 00:00:00 2001 From: lymanZerga11 Date: Thu, 9 Mar 2017 09:01:37 +0800 Subject: add tests --- test/mitmproxy/addons/test_proxyauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/mitmproxy/addons/test_proxyauth.py b/test/mitmproxy/addons/test_proxyauth.py index 8b64a21b..82517bff 100644 --- a/test/mitmproxy/addons/test_proxyauth.py +++ b/test/mitmproxy/addons/test_proxyauth.py @@ -171,4 +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') + assert f2.metadata["proxyauth"] == ('test', 'test') -- cgit v1.2.3