aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_protocol_http2.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2016-02-02 17:48:09 +0100
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2016-02-04 09:52:29 +0100
commitca5cc34d0b70f3306f62004be7ceb3f0c2053da7 (patch)
treed4c283deb28ad3f4184bc55a5900afea40437d2f /test/test_protocol_http2.py
parent68bcc82b8e4c219b024bff0081741c799b9cbd74 (diff)
downloadmitmproxy-ca5cc34d0b70f3306f62004be7ceb3f0c2053da7.tar.gz
mitmproxy-ca5cc34d0b70f3306f62004be7ceb3f0c2053da7.tar.bz2
mitmproxy-ca5cc34d0b70f3306f62004be7ceb3f0c2053da7.zip
cleanup
Diffstat (limited to 'test/test_protocol_http2.py')
-rw-r--r--test/test_protocol_http2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_protocol_http2.py b/test/test_protocol_http2.py
index dce8c5da..cc62f734 100644
--- a/test/test_protocol_http2.py
+++ b/test/test_protocol_http2.py
@@ -384,6 +384,6 @@ class TestPushPromise(_Http2TestBase, _Http2ServerBase):
client.wfile.flush()
bodies = [flow.response.body for flow in self.master.state.flows if flow.response]
- assert len(bodies) == 3
+ assert len(bodies) >= 1
assert b'regular_stream' in bodies
# the other two bodies might not be transmitted before the reset