diff options
Diffstat (limited to 'test/netlib/http/test_request.py')
-rw-r--r-- | test/netlib/http/test_request.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/netlib/http/test_request.py b/test/netlib/http/test_request.py index ae231a8e..7ed6bd0f 100644 --- a/test/netlib/http/test_request.py +++ b/test/netlib/http/test_request.py @@ -108,7 +108,7 @@ class TestRequestUtils(object): request.url = "not-a-url" def test_url_options(self): - request = treq(method="OPTIONS", path="*") + request = treq(method=b"OPTIONS", path=b"*") assert request.url == "http://address:22" def test_url_authority(self): @@ -149,7 +149,7 @@ class TestRequestUtils(object): assert request.pretty_url == "http://address:22/path" def test_pretty_url_options(self): - request = treq(method="OPTIONS", path="*") + request = treq(method=b"OPTIONS", path=b"*") assert request.pretty_url == "http://address:22" def test_pretty_url_authority(self): |