diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-01-17 09:07:40 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-01-17 09:07:40 -0500 |
commit | 1da904585db4cd1e77c312190149daa946366fa0 (patch) | |
tree | d71c32f3b47c2b137d6b9543a605feb8380472a7 /tests | |
parent | 51e7176ead22d7ad898fa7f6e2de246df43f04e0 (diff) | |
download | cmd2-git-1da904585db4cd1e77c312190149daa946366fa0.tar.gz |
Cleanup of documentation and examples
Removed usage of and reference to attributes and commands which have now been removed.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_cmd2.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 86296246..30308dd7 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -320,7 +320,7 @@ def test_history_output_file(base_app): run_cmd(base_app, 'help') run_cmd(base_app, 'shortcuts') run_cmd(base_app, 'help history') - + fd, fname = tempfile.mkstemp(prefix='', suffix='.txt') os.close(fd) run_cmd(base_app, 'history -o "{}"'.format(fname)) @@ -613,12 +613,6 @@ def test_pipe_to_shell(base_app, capsys): if sys.platform == "win32": # Windows command = 'help | sort' - # Get help menu and pipe it's output to the sort shell command - # expected = ['', '', '_relative_load edit history py quit save shell show', - # '========================================', - # 'cmdenvironment help load pyscript run set shortcuts', - # 'Documented commands (type help <topic>):'] - # assert out == expected else: # Mac and Linux # Get help on help and pipe it's output to the input of the word count shell command |