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

Function test_parse_command_only_multiline

tests/test_parsing.py:855–862  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

853
854
855def test_parse_command_only_multiline(parser) -> None:
856 line = 'multiline with partially "open quotes and no terminator'
857 partial_statement = parser.parse_command_only(line)
858 assert partial_statement.command == "multiline"
859 assert partial_statement.args == 'with partially "open quotes and no terminator'
860 assert partial_statement.raw == line
861 assert partial_statement.multiline_command
862 assert partial_statement.command_and_args == line
863
864
865def test_statement_initialization() -> 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…