diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-01-15 00:31:57 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-01-15 00:32:34 -0500 |
commit | 6b5d3629e5dcfd729d8023f9f0b39fed16b2e357 (patch) | |
tree | 96aabe1e01fc4ea13a7240ada288b554f39fc5b0 /tests/test_cmd2.py | |
parent | eb12773ab8cba72bfa593f53533423e25d823765 (diff) | |
download | cmd2-git-6b5d3629e5dcfd729d8023f9f0b39fed16b2e357.tar.gz |
Fixed test_echo unit test
This one depends on the help text for history
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r-- | tests/test_cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index ebd388b1..c095bbba 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -1490,7 +1490,7 @@ def test_echo(capsys): # Check the output assert app.cmdqueue == [] assert app._current_script_dir is None - assert out.startswith('{}{}\n'.format(app.prompt, command) + 'history [arg]: lists past commands issued') + assert out.startswith('{}{}\n'.format(app.prompt, command) + 'usage: history [-h] [-s] [arg [arg ...]]') def test_pseudo_raw_input_tty_rawinput_true(): # use context managers so original functions get put back when we are done |