aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-08-16 21:47:26 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-08-16 21:47:26 +1200
commit99e89a1efc9871e8956460d1e40cf8282f14babd (patch)
tree1eb48ffa50c3cdbeaa36352547cef2e48e69ed5d
parentb7e6e1c9b2c57270ee0c49af9235a2b119600056 (diff)
downloadmitmproxy-99e89a1efc9871e8956460d1e40cf8282f14babd.tar.gz
mitmproxy-99e89a1efc9871e8956460d1e40cf8282f14babd.tar.bz2
mitmproxy-99e89a1efc9871e8956460d1e40cf8282f14babd.zip
Remove stray prints from test suite
-rw-r--r--test/http/http1/test_protocol.py1
-rw-r--r--test/http/http2/test_protocol.py1
-rw-r--r--test/http/test_exceptions.py1
3 files changed, 0 insertions, 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):