diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-09-03 23:44:54 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-09-03 23:44:54 +0200 |
commit | 2f44b26b4cd014e03dd62a125d79af9b81663a93 (patch) | |
tree | 732a02fe5d0283ccd98513bfaa2c8d65bb81dd54 /test/test_proxy.py | |
parent | cd43c5ba9c2981aeffee354cbcb574b6f5e435ba (diff) | |
download | mitmproxy-2f44b26b4cd014e03dd62a125d79af9b81663a93.tar.gz mitmproxy-2f44b26b4cd014e03dd62a125d79af9b81663a93.tar.bz2 mitmproxy-2f44b26b4cd014e03dd62a125d79af9b81663a93.zip |
improve HTTPRequest syntax
Diffstat (limited to 'test/test_proxy.py')
-rw-r--r-- | test/test_proxy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_proxy.py b/test/test_proxy.py index 91e4954f..ad2bb2d7 100644 --- a/test/test_proxy.py +++ b/test/test_proxy.py @@ -23,7 +23,7 @@ class TestServerConnection: self.d.shutdown() def test_simple(self): - sc = ServerConnection((self.d.IFACE, self.d.port), None) + sc = ServerConnection((self.d.IFACE, self.d.port)) sc.connect() f = tutils.tflow() f.server_conn = sc @@ -35,7 +35,7 @@ class TestServerConnection: sc.finish() def test_terminate_error(self): - sc = ServerConnection((self.d.IFACE, self.d.port), None) + sc = ServerConnection((self.d.IFACE, self.d.port)) sc.connect() sc.connection = mock.Mock() sc.connection.recv = mock.Mock(return_value=False) |