(condition, *, timeout: float = 15.0, message: str)
| 85 | |
| 86 | |
| 87 | async def _wait_for(condition, *, timeout: float = 15.0, message: str): |
| 88 | deadline = time.monotonic() + timeout |
| 89 | while time.monotonic() < deadline: |
| 90 | if await condition(): |
| 91 | return |
| 92 | await asyncio.sleep(0.2) |
| 93 | pytest.fail(message) |
| 94 | |
| 95 | |
| 96 | async def _assert_implemented_failure(awaitable, method: str) -> None: |
no test coverage detected
searching dependent graphs…