Skip to content

Commit c149c0b

Browse files
committed
[Clipboard] unit tests
1 parent 861193a commit c149c0b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_cmd2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,7 @@ def test_get_paste_copy_exception_overwrite(redirection_app, mocker, capsys) ->
968968
assert out == "print\n"
969969

970970

971+
@pytest.mark.skipif(not pyperclip_can_paste, reason="Pyperclip could not find a copy/paste mechanism for your system")
971972
def test_get_paste_copy_exception_append(redirection_app, mocker, capsys) -> None:
972973
# check clipboard type
973974
assert isinstance(redirection_app.clipboard, PyperclipClipboard)

0 commit comments

Comments
 (0)