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

Function test_empty_statement_raises_exception

tests/test_parsing.py:656–662  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

654
655
656def test_empty_statement_raises_exception() -> None:
657 app = cmd2.Cmd()
658 with pytest.raises(exceptions.EmptyStatement):
659 app._complete_statement("")
660
661 with pytest.raises(exceptions.EmptyStatement):
662 app._complete_statement(" ")
663
664
665@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

_complete_statementMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…