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

Function test_cli_name

tests/test_cli.py:41–45  ·  view source on GitHub ↗

Make sure the CLI object's name is the app's name and not the app itself

(test_apps)

Source from the content-addressed store, hash-verified

39
40
41def test_cli_name(test_apps):
42 """Make sure the CLI object's name is the app's name and not the app itself"""
43 from cliapp.app import testapp
44
45 assert testapp.cli.name == testapp.name
46
47
48def test_find_best_app(test_apps):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected