From 99e89a1efc9871e8956460d1e40cf8282f14babd Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 16 Aug 2015 21:47:26 +1200 Subject: Remove stray prints from test suite --- test/http/http1/test_protocol.py | 1 - test/http/http2/test_protocol.py | 1 - test/http/test_exceptions.py | 1 - 3 files changed, 3 deletions(-) diff --git a/test/http/http1/test_protocol.py b/test/http/http1/test_protocol.py index af77c55f..6704647f 100644 --- a/test/http/http1/test_protocol.py +++ b/test/http/http1/test_protocol.py @@ -485,7 +485,6 @@ class TestAssembleResponse(object): def test_simple(self): resp = tutils.tresp() b = HTTP1Protocol().assemble_response(resp) - print(b) assert b == match_http_string(""" HTTP/1.1 200 OK header_response: svalue diff --git a/test/http/http2/test_protocol.py b/test/http/http2/test_protocol.py index 3044179f..0431de34 100644 --- a/test/http/http2/test_protocol.py +++ b/test/http/http2/test_protocol.py @@ -399,7 +399,6 @@ class TestAssembleRequest(object): req.stream_id = 0x42 bytes = HTTP2Protocol(self.c).assemble_request(req) assert len(bytes) == 1 - print(bytes[0].encode('hex')) assert bytes[0] == '00000d0105000000428284874188089d5c0b8170dc07'.decode('hex') def test_request_with_body(self): diff --git a/test/http/test_exceptions.py b/test/http/test_exceptions.py index 0131c7ef..d7c438f7 100644 --- a/test/http/test_exceptions.py +++ b/test/http/test_exceptions.py @@ -14,7 +14,6 @@ class TestHttpAuthenticationError: assert isinstance(x.headers, odict.ODictCaseless) assert x.code == 407 assert x.headers == headers - print(x.headers.keys()) assert "foo" in x.headers.keys() def test_header_conversion(self): -- cgit v1.2.3