Remove stray prints from test suite

This commit is contained in:
Aldo Cortesi 2015-08-16 21:47:26 +12:00
parent b7e6e1c9b2
commit 99e89a1efc
3 changed files with 0 additions and 3 deletions

View File

@ -485,7 +485,6 @@ class TestAssembleResponse(object):
def test_simple(self): def test_simple(self):
resp = tutils.tresp() resp = tutils.tresp()
b = HTTP1Protocol().assemble_response(resp) b = HTTP1Protocol().assemble_response(resp)
print(b)
assert b == match_http_string(""" assert b == match_http_string("""
HTTP/1.1 200 OK HTTP/1.1 200 OK
header_response: svalue header_response: svalue

View File

@ -399,7 +399,6 @@ class TestAssembleRequest(object):
req.stream_id = 0x42 req.stream_id = 0x42
bytes = HTTP2Protocol(self.c).assemble_request(req) bytes = HTTP2Protocol(self.c).assemble_request(req)
assert len(bytes) == 1 assert len(bytes) == 1
print(bytes[0].encode('hex'))
assert bytes[0] == '00000d0105000000428284874188089d5c0b8170dc07'.decode('hex') assert bytes[0] == '00000d0105000000428284874188089d5c0b8170dc07'.decode('hex')
def test_request_with_body(self): def test_request_with_body(self):

View File

@ -14,7 +14,6 @@ class TestHttpAuthenticationError:
assert isinstance(x.headers, odict.ODictCaseless) assert isinstance(x.headers, odict.ODictCaseless)
assert x.code == 407 assert x.code == 407
assert x.headers == headers assert x.headers == headers
print(x.headers.keys())
assert "foo" in x.headers.keys() assert "foo" in x.headers.keys()
def test_header_conversion(self): def test_header_conversion(self):