MCPcopy Create free account
hub / github.com/python-websockets/websockets / test_server_sends_close

Method test_server_sends_close

tests/test_protocol.py:1681–1684  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1679 self.assertTrue(client.close_expected())
1680
1681 def test_server_sends_close(self):
1682 server = Protocol(SERVER)
1683 server.send_close()
1684 self.assertTrue(server.close_expected())
1685
1686 def test_client_receives_close(self):
1687 client = Protocol(CLIENT)

Callers

nothing calls this directly

Calls 3

send_closeMethod · 0.95
close_expectedMethod · 0.95
ProtocolClass · 0.50

Tested by

no test coverage detected