aboutsummaryrefslogtreecommitdiffstats
path: root/test/http/test_models.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/http/test_models.py')
-rw-r--r--test/http/test_models.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/http/test_models.py b/test/http/test_models.py
index 0f4dcc3b..8fce2e9d 100644
--- a/test/http/test_models.py
+++ b/test/http/test_models.py
@@ -20,7 +20,7 @@ class TestRequest(object):
'host',
'port',
'path',
- (1, 1),
+ b"HTTP/1.1",
'foobar',
)
@@ -31,7 +31,7 @@ class TestRequest(object):
'host',
'port',
'path',
- (1, 1),
+ b"HTTP/1.1",
)
assert isinstance(req.headers, Headers)
@@ -307,13 +307,13 @@ class TestRequest(object):
class TestResponse(object):
def test_headers(self):
tutils.raises(AssertionError, Response,
- (1, 1),
+ b"HTTP/1.1",
200,
headers='foobar',
)
resp = Response(
- (1, 1),
+ b"HTTP/1.1",
200,
)
assert isinstance(resp.headers, Headers)