(default_app)
| 54 | assert isinstance(executor, concurrent.futures.ThreadPoolExecutor) |
| 55 | |
| 56 | def test_process_executor_init(default_app): |
| 57 | default_app.config['EXECUTOR_TYPE'] = 'process' |
| 58 | executor = Executor(default_app) |
| 59 | assert isinstance(executor._self, concurrent.futures.ProcessPoolExecutor) |
| 60 | assert isinstance(executor, concurrent.futures.ProcessPoolExecutor) |
| 61 | |
| 62 | def test_default_executor_init(default_app): |
| 63 | executor = Executor(default_app) |