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

Function test_parse_word_plus_terminator

tests/test_parsing.py:162–169  ·  view source on GitHub ↗
(parser, line, terminator)

Source from the content-addressed store, hash-verified

160 ],
161)
162def test_parse_word_plus_terminator(parser, line, terminator) -> None:
163 statement = parser.parse(line)
164 assert statement.command == "termbare"
165 assert statement == ""
166 assert statement.argv == ["termbare"]
167 assert not statement.arg_list
168 assert statement.terminator == terminator
169 assert statement.expanded_command_line == statement.command + statement.terminator
170
171
172@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…