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

Function test_init

tests/test_executor.py:37–42  ·  view source on GitHub ↗
(app)

Source from the content-addressed store, hash-verified

35
36
37def 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
44def test_factory_init(app):
45 executor = Executor()

Callers

nothing calls this directly

Calls 1

ExecutorClass · 0.90

Tested by

no test coverage detected