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

Function test_invalid_syntax

tests/test_argparse.py:128–130  ·  view source on GitHub ↗
(argparse_app)

Source from the content-addressed store, hash-verified

126
127
128def test_invalid_syntax(argparse_app) -> None:
129 _out, err = run_cmd(argparse_app, 'speak "')
130 assert err[0] == "Invalid syntax: No closing quotation"
131
132
133def test_argparse_basic_command(argparse_app) -> None:

Callers

nothing calls this directly

Calls 1

run_cmdFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…