MCPcopy Create free account
hub / github.com/pallets/flask / test_cli_runner_class

Function test_cli_runner_class

tests/test_testing.py:338–347  ·  view source on GitHub ↗
(app)

Source from the content-addressed store, hash-verified

336
337
338def test_cli_runner_class(app):
339 runner = app.test_cli_runner()
340 assert isinstance(runner, FlaskCliRunner)
341
342 class SubRunner(FlaskCliRunner):
343 pass
344
345 app.test_cli_runner_class = SubRunner
346 runner = app.test_cli_runner()
347 assert isinstance(runner, SubRunner)
348
349
350def test_cli_invoke(app):

Callers

nothing calls this directly

Calls 1

test_cli_runnerMethod · 0.80

Tested by

no test coverage detected