diff options
| author | Maximilian Hils <git@maximilianhils.com> | 2014-01-29 02:49:11 +0100 | 
|---|---|---|
| committer | Maximilian Hils <git@maximilianhils.com> | 2014-01-29 02:49:11 +0100 | 
| commit | 607f7778110d5c2720e60ffcf5f4b0c94e8fcc5f (patch) | |
| tree | cd6249109b49936267cee0a30e0cb616288417d0 /test/test_flow.py | |
| parent | 1e3e0dd1271afda59ec244b64391b6579a998dce (diff) | |
| download | mitmproxy-607f7778110d5c2720e60ffcf5f4b0c94e8fcc5f.tar.gz mitmproxy-607f7778110d5c2720e60ffcf5f4b0c94e8fcc5f.tar.bz2 mitmproxy-607f7778110d5c2720e60ffcf5f4b0c94e8fcc5f.zip | |
fix most testsuite errors, improve proxy error handling
Diffstat (limited to 'test/test_flow.py')
| -rw-r--r-- | test/test_flow.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/test/test_flow.py b/test/test_flow.py index f9198f0c..aec04152 100644 --- a/test/test_flow.py +++ b/test/test_flow.py @@ -595,7 +595,7 @@ class TestFlowMaster:          req = tutils.treq()          fm.handle_clientconnect(req.client_conn)          assert fm.scripts[0].ns["log"][-1] == "clientconnect" -        sc = proxy.ServerConnection(None, req.scheme, req.host, req.port, None) +        sc = proxy.ServerConnection((req.host, req.port))          sc.reply = controller.DummyReply()          fm.handle_serverconnection(sc)          assert fm.scripts[0].ns["log"][-1] == "serverconnect" | 
