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

Function test_default_executor_init

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

Source from the content-addressed store, hash-verified

60 assert isinstance(executor, concurrent.futures.ProcessPoolExecutor)
61
62def test_default_executor_init(default_app):
63 executor = Executor(default_app)
64 assert isinstance(executor._self, concurrent.futures.ThreadPoolExecutor)
65
66def test_invalid_executor_init(default_app):
67 default_app.config['EXECUTOR_TYPE'] = 'invalid_value'

Callers

nothing calls this directly

Calls 1

ExecutorClass · 0.90

Tested by

no test coverage detected