(self)
| 35 | self.app.log.loglevel = 0 |
| 36 | |
| 37 | def test_start_worker(self): |
| 38 | with start_worker(app=self.app, loglevel=0): |
| 39 | result = self.add.s(1, 2).apply_async() |
| 40 | val = result.get(timeout=5) |
| 41 | assert val == 3 |
| 42 | |
| 43 | def test_start_worker_with_exception(self): |
| 44 | """Make sure that start_worker does not hang on exception""" |
nothing calls this directly
no test coverage detected