(self)
| 1381 | assert 'KeyError' in msg % args |
| 1382 | |
| 1383 | def test_on_timer_tick(self): |
| 1384 | worker = self.app.WorkController(concurrency=1, loglevel=10) |
| 1385 | |
| 1386 | components.Timer(worker).on_timer_tick(30.0) |
| 1387 | xargs = self.comp_logger.debug.call_args[0] |
| 1388 | fmt, arg = xargs[0], xargs[1] |
| 1389 | assert arg == 30.0 |
| 1390 | assert 'Next ETA %s secs' in fmt |
| 1391 | |
| 1392 | def test_process_task(self): |
| 1393 | worker = self.worker |
nothing calls this directly
no test coverage detected