diff options
Diffstat (limited to 'test/utils.py')
-rw-r--r-- | test/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/utils.py b/test/utils.py index 07145d6b..94463b6a 100644 --- a/test/utils.py +++ b/test/utils.py @@ -2,7 +2,7 @@ from libmproxy import proxy, utils, filt, flow def treq(conn=None): if not conn: - conn = proxy.ClientConnection("address", 22) + conn = proxy.ClientConnection(("address", 22)) headers = utils.Headers() headers["header"] = ["qvalue"] return proxy.Request(conn, "host", 80, "http", "GET", "/path", headers, "content") @@ -17,6 +17,6 @@ def tresp(req=None): def tflow(): - bc = proxy.ClientConnection("address", 22) + bc = proxy.ClientConnection(("address", 22)) return flow.Flow(bc) |