(self, *, ready=None)
| 2001 | return True |
| 2002 | |
| 2003 | async def _wait_for_client_close(self, *, ready=None): |
| 2004 | if ready is not None: |
| 2005 | # Readiness events belong to the test loop, not the proxy thread. |
| 2006 | self.caller_loop.call_soon_threadsafe(ready.set) |
| 2007 | await self.client_reader.read() |
| 2008 | |
| 2009 | def _write_message(self, message_type, payload): |
| 2010 | length = self.MESSAGE_LENGTH.size + len(payload) |
no outgoing calls
no test coverage detected