Make sure that start_worker does not hang on exception
(self)
| 41 | assert val == 3 |
| 42 | |
| 43 | def test_start_worker_with_exception(self): |
| 44 | """Make sure that start_worker does not hang on exception""" |
| 45 | |
| 46 | with pytest.raises(NotImplementedError): |
| 47 | with start_worker(app=self.app, loglevel=0): |
| 48 | result = self.error_task.apply_async() |
| 49 | result.get(timeout=5) |
| 50 | |
| 51 | def test_start_worker_with_hostname_config(self): |
| 52 | """Make sure a custom hostname can be supplied to the TestWorkController""" |
nothing calls this directly
no test coverage detected