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

Function test_argparse_preserve_quotes

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

Source from the content-addressed store, hash-verified

155
156
157def test_argparse_preserve_quotes(argparse_app) -> None:
158 out, _err = run_cmd(argparse_app, 'tag mytag "hello"')
159 assert out[0] == '<mytag>"hello"</mytag>'
160
161
162def test_argparse_custom_namespace(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…