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

Function test_parse_suffix_after_terminator

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

Source from the content-addressed store, hash-verified

179 ],
180)
181def test_parse_suffix_after_terminator(parser, line, terminator) -> None:
182 statement = parser.parse(line)
183 assert statement.command == "termbare"
184 assert statement == ""
185 assert statement.args == statement
186 assert statement.argv == ["termbare"]
187 assert not statement.arg_list
188 assert statement.terminator == terminator
189 assert statement.suffix == "suffx"
190 assert statement.expanded_command_line == statement.command + statement.terminator + " " + statement.suffix
191
192
193def test_parse_command_with_args(parser) -> None:

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…