(self)
| 216 | self.loader = AppLoader(app=self.app) |
| 217 | |
| 218 | def test_on_worker_init(self): |
| 219 | self.app.conf.imports = ('subprocess',) |
| 220 | sys.modules.pop('subprocess', None) |
| 221 | self.loader.init_worker() |
| 222 | assert 'subprocess' in sys.modules |
| 223 | |
| 224 | |
| 225 | class test_autodiscovery: |
nothing calls this directly
no test coverage detected