diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-03-20 20:25:51 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-03-20 20:25:51 -0400 |
commit | 2aa7d8dd25f8bbc66a57c6f800c1af935fe601a7 (patch) | |
tree | 7db729faeacc1deca57efd7f69f31bff52d40ced /tests | |
parent | 9ffb1ffa80724b10e5be5563fdefcf67a5abff41 (diff) | |
download | cmd2-git-2aa7d8dd25f8bbc66a57c6f800c1af935fe601a7.tar.gz |
Fixed unit test on Windows
Diffstat (limited to 'tests')
-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 acb9d0f7..e7416105 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -572,7 +572,7 @@ def test_pipe_to_shell_error(base_app): # Try to pipe command output to a shell command that doesn't exist in order to produce an error out, err = run_cmd(base_app, 'help | foobarbaz.this_does_not_exist') assert not out - assert "No such file or directory" in err[0] + assert "Failed to open pipe because" in err[0] @pytest.mark.skipif(not clipboard.can_clip, reason="Pyperclip could not find a copy/paste mechanism for your system") |