MCPcopy Index your code
hub / github.com/python-cmd2/cmd2 / test_help_cat_base

Function test_help_cat_base

tests/test_cmd2.py:1488–1496  ·  view source on GitHub ↗
(helpcat_app)

Source from the content-addressed store, hash-verified

1486
1487
1488def test_help_cat_base(helpcat_app) -> None:
1489 out, _err = run_cmd(helpcat_app, "help")
1490 assert helpcat_app.last_result is True
1491 verify_help_text(helpcat_app, out)
1492
1493 help_text = "".join(out)
1494 assert helpcat_app.CUSTOM_CATEGORY in help_text
1495 assert helpcat_app.SOME_CATEGORY in help_text
1496 assert helpcat_app.DEFAULT_CATEGORY in help_text
1497
1498
1499def test_help_cat_verbose(helpcat_app) -> None:

Callers

nothing calls this directly

Calls 2

run_cmdFunction · 0.85
verify_help_textFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…