(app)
| 35 | |
| 36 | |
| 37 | def test_init(app): |
| 38 | executor = Executor(app) |
| 39 | assert 'executor' in app.extensions |
| 40 | assert isinstance(executor, concurrent.futures._base.Executor) |
| 41 | assert isinstance(executor._self, concurrent.futures._base.Executor) |
| 42 | assert getattr(executor, 'shutdown') |
| 43 | |
| 44 | def test_factory_init(app): |
| 45 | executor = Executor() |