(self)
| 31 | REMOTE = SERVER |
| 32 | |
| 33 | def setUp(self): |
| 34 | socket_, remote_socket = socket.socketpair() |
| 35 | protocol = Protocol(self.LOCAL) |
| 36 | remote_protocol = RecordingProtocol(self.REMOTE) |
| 37 | self.connection = Connection(socket_, protocol, close_timeout=2 * MS) |
| 38 | self.remote_connection = InterceptingConnection(remote_socket, remote_protocol) |
| 39 | |
| 40 | def tearDown(self): |
| 41 | self.remote_connection.close() |
nothing calls this directly
no test coverage detected