summaryrefslogtreecommitdiff
path: root/tests/test_cmd2.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-02-05 20:19:02 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2017-02-05 20:19:02 -0500
commitdef2bb90533f72ddd4b8909c0160cf643e19f765 (patch)
treea73848d752e6dd4491f7d4161d77a21e2f170a0f /tests/test_cmd2.py
parent65959e43b5c81443058d3f79225163bc7d2814e5 (diff)
downloadcmd2-git-def2bb90533f72ddd4b8909c0160cf643e19f765.tar.gz
Documented undocumented commands and removed command aliases.
The out-of-the-box help menu now looks a lot cleaner: - All redundant command aliases have been removed (NOTE: They can still be used if self.abbrev is True, which is the default) - All previously undocumented commands have been documented - Unit tests and README.rst documentation has been updated to reflect new behavior
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r--tests/test_cmd2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index 33c4acb3..e88c4c18 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -346,9 +346,9 @@ def test_pipe_to_shell(base_app):
out = run_cmd(base_app, 'help help | wc')
if sys.platform == "win32":
- expected = normalize("1 5 24")
+ expected = normalize("1 11 70")
else:
- expected = normalize("1 5 20")
+ expected = normalize("1 11 66")
assert out[0].strip() == expected[0].strip()