(function: AsyncMock, delay: timedelta)
| 22 | |
| 23 | |
| 24 | async def test_init(function: AsyncMock, delay: timedelta) -> None: |
| 25 | rt = RecurringTask(function, delay) |
| 26 | assert rt.func == function |
| 27 | assert rt.delay == delay |
| 28 | assert rt.task is None |
| 29 | |
| 30 | |
| 31 | async def test_start_and_stop(function: AsyncMock, delay: timedelta) -> None: |
nothing calls this directly
no test coverage detected