MCPcopy Create free account
hub / github.com/dchevell/flask-executor / test_process_executor_init

Function test_process_executor_init

tests/test_executor.py:56–60  ·  view source on GitHub ↗
(default_app)

Source from the content-addressed store, hash-verified

54 assert isinstance(executor, concurrent.futures.ThreadPoolExecutor)
55
56def 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
62def test_default_executor_init(default_app):
63 executor = Executor(default_app)

Callers

nothing calls this directly

Calls 1

ExecutorClass · 0.90

Tested by

no test coverage detected