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

Function test_set_no_settables

tests/test_cmd2.py:210–215  ·  view source on GitHub ↗
(base_app)

Source from the content-addressed store, hash-verified

208
209
210def test_set_no_settables(base_app) -> None:
211 base_app._settables.clear()
212 _out, err = run_cmd(base_app, "set quiet True")
213 expected = normalize("There are no settable parameters")
214 assert err == expected
215 assert base_app.last_result is False
216
217
218@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 3

run_cmdFunction · 0.85
normalizeFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…