From 6d53d08b6c6e55e1ce787ca8f0110351723fc21d Mon Sep 17 00:00:00 2001 From: lymanZerga11 Date: Thu, 9 Mar 2017 09:01:04 +0800 Subject: [PATCH] Add tests --- test/mitmproxy/addons/test_proxyauth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/mitmproxy/addons/test_proxyauth.py b/test/mitmproxy/addons/test_proxyauth.py index dd5829ab9..8b64a21bf 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')