| 34 | |
| 35 | |
| 36 | class 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 |
no outgoing calls