(self)
| 78 | assert str(s) == "Server(address:22, state=closed, alpn=foo, src_port=54321)" |
| 79 | |
| 80 | def test_state(self): |
| 81 | c = tserver_conn() |
| 82 | c2 = c.copy() |
| 83 | assert c2.get_state() != c.get_state() |
| 84 | c.id = c2.id = "foo" |
| 85 | assert c2.get_state() == c.get_state() |
| 86 | |
| 87 | def test_address(self): |
| 88 | s = Server(address=("address", 22)) |
nothing calls this directly
no test coverage detected