diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-01-25 19:41:22 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-02-04 09:52:04 +0100 |
commit | 735c79a2edb3b31a35ed3e484744807bb626ab77 (patch) | |
tree | ef49989901e51dcb573ca7f612ff267820650481 /test | |
parent | 4e9579e93eee4a156fa60c1d58dcc9b8c113d367 (diff) | |
download | mitmproxy-735c79a2edb3b31a35ed3e484744807bb626ab77.tar.gz mitmproxy-735c79a2edb3b31a35ed3e484744807bb626ab77.tar.bz2 mitmproxy-735c79a2edb3b31a35ed3e484744807bb626ab77.zip |
increase coverage
Diffstat (limited to 'test')
-rw-r--r-- | test/test_protocol_http2.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_protocol_http2.py b/test/test_protocol_http2.py index a7e8978a..e72113c4 100644 --- a/test/test_protocol_http2.py +++ b/test/test_protocol_http2.py @@ -122,6 +122,10 @@ class TestHttp2(tservers.ProxTestBase): if isinstance(event, h2.events.StreamEnded): done = True + h2_conn.close_connection() + client.wfile.write(h2_conn.data_to_send()) + client.wfile.flush() + self.server.teardown_class() assert len(self.master.state.flows) == 1 |