Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit c28a771

Browse files
committed
Confirm we reset window managers.
1 parent fb63b9b commit c28a771

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_hyper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,7 @@ def test_closed_connections_are_reset(self):
827827
c._sock = DummySocket()
828828
encoder = c.encoder
829829
decoder = c.decoder
830+
wm = c.window_manager
830831
c.request('GET', '/')
831832
c.close()
832833

@@ -840,7 +841,7 @@ def test_closed_connections_are_reset(self):
840841
SettingsFrame.INITIAL_WINDOW_SIZE: 65535,
841842
}
842843
assert c._out_flow_control_window == 65535
843-
assert c._in_flow_control_window == 65535
844+
assert c.window_manager is not wm
844845

845846
def test_connection_doesnt_send_window_update_on_zero_length_data_frame(self):
846847
# Prepare a socket with a data frame in it that has no length.

0 commit comments

Comments
 (0)