MCPcopy Create free account
hub / github.com/python-cmd2/cmd2 / test_postparsing_hook_too_many_parameters

Function test_postparsing_hook_too_many_parameters

tests/test_plugin.py:394–397  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

392#
393###
394def test_postparsing_hook_too_many_parameters() -> None:
395 app = PluggedApp()
396 with pytest.raises(TypeError):
397 app.register_postparsing_hook(app.postparse_hook_too_many_parameters)
398
399
400def test_postparsing_hook_undeclared_parameter_annotation() -> None:

Callers

nothing calls this directly

Calls 2

PluggedAppClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…