在我的测试中,我模拟 WebSocketResponse() 和它的 __aiter__ 方法: def coro_mock(**kwargs): return asyncio.coroutine(mock.
確定! 回上一頁