From a5d9e1f44dbe0fc6fee174b1953806f9b148b5ad Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Wed, 29 Jul 2015 11:39:53 +0200 Subject: move code to netlib and implement protocols --- test/tutils.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/tutils.py') diff --git a/test/tutils.py b/test/tutils.py index aeaeb0de..7c7d1db3 100644 --- a/test/tutils.py +++ b/test/tutils.py @@ -96,13 +96,13 @@ def treq(content="content", scheme="http", host="address", port=22): host, port, "/path", - (1, - 1), + (1, 1), headers, content, None, None, - None) + None, + ) return req @@ -127,14 +127,14 @@ def tresp(content="message"): headers["header_response"] = ["svalue"] resp = http.HTTPResponse( - (1, - 1), + (1, 1), 200, "OK", headers, content, time(), - time()) + time(), + ) return resp -- cgit v1.2.3