MCPcopy Create free account
hub / github.com/aio-libs/aiohttp / WriterMock

Class WriterMock

tests/test_client_request.py:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35
36class WriterMock(mock.AsyncMock):
37 def __await__(self) -> None:
38 return self().__await__()
39
40 def add_done_callback(self, cb: Callable[[], None]) -> None:
41 """Dummy method."""
42
43 def remove_done_callback(self, cb: Callable[[], None]) -> None:
44 """Dummy method."""
45
46
47@pytest.fixture

Callers 3

test_terminateFunction · 0.70
goFunction · 0.70

Calls

no outgoing calls

Tested by 3

test_terminateFunction · 0.56
goFunction · 0.56