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

Function test_postparsing_hook_wrong_parameter_annotation

tests/test_plugin.py:406–409  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

404
405
406def test_postparsing_hook_wrong_parameter_annotation() -> None:
407 app = PluggedApp()
408 with pytest.raises(TypeError):
409 app.register_postparsing_hook(app.postparse_hook_wrong_parameter_annotation)
410
411
412def test_postparsing_hook_undeclared_return_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…