(self, path: str)
| 205 | self.listen(factory) |
| 206 | |
| 207 | async def wait_for_request(self, path: str) -> TestServerRequest: |
| 208 | if path in self.request_subscribers: |
| 209 | return await self.request_subscribers[path] |
| 210 | future: asyncio.Future["TestServerRequest"] = asyncio.Future() |
| 211 | self.request_subscribers[path] = future |
| 212 | return await future |
| 213 | |
| 214 | def wait_for_web_socket(self) -> 'asyncio.Future["WebSocketProtocol"]': |
| 215 | future: asyncio.Future[WebSocketProtocol] = asyncio.Future() |
no outgoing calls