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

Function test_parse_command_only_specialchars

tests/test_parsing.py:821–827  ·  view source on GitHub ↗
(parser, line, args)

Source from the content-addressed store, hash-verified

819 ],
820)
821def test_parse_command_only_specialchars(parser, line, args) -> None:
822 partial_statement = parser.parse_command_only(line)
823 assert partial_statement.command == "help"
824 assert partial_statement.args == args
825 assert partial_statement.raw == line
826 assert not partial_statement.multiline_command
827 assert partial_statement.command_and_args == "help" + " " + args
828
829
830@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

parse_command_onlyMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…