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

Function test_disable_fake_command

tests/test_cmd2.py:3965–3967  ·  view source on GitHub ↗
(disable_commands_app)

Source from the content-addressed store, hash-verified

3963
3964
3965def test_disable_fake_command(disable_commands_app) -> None:
3966 with pytest.raises(AttributeError):
3967 disable_commands_app.disable_command("fake", "fake message")
3968
3969
3970def test_disable_command_twice(disable_commands_app) -> None:

Callers

nothing calls this directly

Calls 1

disable_commandMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…