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

Function test_parse_command_only_empty

tests/test_parsing.py:846–852  ·  view source on GitHub ↗
(parser, line)

Source from the content-addressed store, hash-verified

844 ],
845)
846def test_parse_command_only_empty(parser, line) -> None:
847 partial_statement = parser.parse_command_only(line)
848 assert partial_statement.command == ""
849 assert partial_statement.args == ""
850 assert partial_statement.raw == line
851 assert not partial_statement.multiline_command
852 assert partial_statement.command_and_args == ""
853
854
855def test_parse_command_only_multiline(parser) -> None:

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…