diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-06-29 00:15:49 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-06-29 00:15:49 -0400 |
commit | d3134a1f7f284c4d93d49646f6009f0f42e62684 (patch) | |
tree | 1783378794a5edcbd5239788058d4ceaa62dbfe4 /tests/test_cmd2.py | |
parent | ddf812495b5fbd5296efb3741f51e70e97943100 (diff) | |
download | cmd2-git-d3134a1f7f284c4d93d49646f6009f0f42e62684.tar.gz |
Mac and Linux now have more similar subprocess.Popen interaction with CLI utiliites for pastebuffer/clipboard interaction
Also removed a unit test which was now redundant since a newer one covered the same material in a better fashion.
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r-- | tests/test_cmd2.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 8394bd9f..adf47d31 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -627,12 +627,3 @@ def test_cmdloop_without_rawinput(): app.cmdloop() out = app.stdout.buffer assert out == expected - - -@pytest.mark.skipif(not cmd2.can_clip, - reason="CLI utility for interacting with PasteBuffer/ClipBoard is not available") -def test_pastebuffer_read_and_write(): - text_to_pb = 'This is a test ...' - cmd2.write_to_paste_buffer(text_to_pb) - text_from_pb = cmd2.get_paste_buffer() - assert text_from_pb == text_to_pb |