MCPcopy
hub / github.com/pallets/flask / invoke

Method invoke

tests/test_cli.py:459–461  ·  view source on GitHub ↗
(self, app, runner)

Source from the content-addressed store, hash-verified

457
458 @pytest.fixture
459 def invoke(self, app, runner):
460 cli = FlaskGroup(create_app=lambda: app)
461 return partial(runner.invoke, cli)
462
463 def expect_order(self, order, output):
464 # skip the header and match the start of each row

Callers 15

test_with_appcontextFunction · 0.45
test_flaskgroup_debugFunction · 0.45
test_flaskgroup_nestedFunction · 0.45
test_help_echo_exceptionFunction · 0.45
test_no_routesMethod · 0.45
test_subdomainMethod · 0.45
test_hostMethod · 0.45

Calls 1

FlaskGroupClass · 0.90

Tested by

no test coverage detected