diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-02-02 17:48:09 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-02-04 09:52:29 +0100 |
commit | ca5cc34d0b70f3306f62004be7ceb3f0c2053da7 (patch) | |
tree | d4c283deb28ad3f4184bc55a5900afea40437d2f /test | |
parent | 68bcc82b8e4c219b024bff0081741c799b9cbd74 (diff) | |
download | mitmproxy-ca5cc34d0b70f3306f62004be7ceb3f0c2053da7.tar.gz mitmproxy-ca5cc34d0b70f3306f62004be7ceb3f0c2053da7.tar.bz2 mitmproxy-ca5cc34d0b70f3306f62004be7ceb3f0c2053da7.zip |
cleanup
Diffstat (limited to 'test')
-rw-r--r-- | test/test_protocol_http2.py | 2 |
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 |