(self)
| 20 | assert t.schedule is schedule |
| 21 | |
| 22 | def test_init_without_schedule(self): |
| 23 | on_error = Mock() |
| 24 | |
| 25 | t = timer2.Timer(on_error=on_error, max_interval=7) |
| 26 | |
| 27 | assert isinstance(t.schedule, timer2.Schedule) |
| 28 | assert t.schedule.on_error is on_error |
| 29 | assert t.schedule.max_interval == 7 |
| 30 | |
| 31 | def test_enter_after(self): |
| 32 | t = timer2.Timer() |
nothing calls this directly
no outgoing calls
no test coverage detected