Client connects to server and the handshake succeeds.
(self)
| 35 | |
| 36 | class ClientTests(unittest.TestCase): |
| 37 | def test_connection(self): |
| 38 | """Client connects to server and the handshake succeeds.""" |
| 39 | with run_server() as server: |
| 40 | with connect(get_uri(server)) as client: |
| 41 | self.assertEqual(client.protocol.state.name, "OPEN") |
| 42 | |
| 43 | def test_existing_socket(self): |
| 44 | """Client connects using a pre-existing socket.""" |
nothing calls this directly
no test coverage detected