We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10f6b1d commit 5d49abeCopy full SHA for 5d49abe
tests/test_cmd2.py
@@ -1849,6 +1849,9 @@ def test_get_macro_names(base_app):
1849
assert len(base_app.macros) == 2
1850
assert sorted(base_app.get_macro_names()) == ['bar', 'foo']
1851
1852
+def test_get_settable_names(base_app):
1853
+ assert sorted(base_app.get_settable_names()) == sorted(base_app.settable.keys())
1854
+
1855
def test_alias_no_subcommand(base_app, capsys):
1856
out = run_cmd(base_app, 'alias')
1857
assert "Usage: alias [-h]" in out[0]
0 commit comments