@@ -697,18 +697,18 @@ def test_pipe_to_shell_error(base_app, capsys):
697697 assert err .startswith ("EXCEPTION of type '{}' occurred with message:" .format (expected_error ))
698698
699699
700- @pytest .mark .skipif (not cmd2 .can_clip ,
700+ @pytest .mark .skipif (not cmd2 .cmd2 . can_clip ,
701701 reason = "Pyperclip could not find a copy/paste mechanism for your system" )
702702def test_send_to_paste_buffer (base_app ):
703703 # Test writing to the PasteBuffer/Clipboard
704704 run_cmd (base_app , 'help >' )
705705 expected = normalize (BASE_HELP )
706- assert normalize (cmd2 .get_paste_buffer ()) == expected
706+ assert normalize (cmd2 .cmd2 . get_paste_buffer ()) == expected
707707
708708 # Test appending to the PasteBuffer/Clipboard
709709 run_cmd (base_app , 'help history >>' )
710710 expected = normalize (BASE_HELP + '\n ' + HELP_HISTORY )
711- assert normalize (cmd2 .get_paste_buffer ()) == expected
711+ assert normalize (cmd2 .cmd2 . get_paste_buffer ()) == expected
712712
713713
714714def test_base_timing (base_app , capsys ):
@@ -1418,7 +1418,7 @@ def test_multiline_complete_statement_without_terminator(multiline_app):
14181418
14191419def test_clipboard_failure (capsys ):
14201420 # Force cmd2 clipboard to be disabled
1421- cmd2 .disable_clip ()
1421+ cmd2 .cmd2 . disable_clip ()
14221422 app = cmd2 .Cmd ()
14231423
14241424 # Redirect command output to the clipboard when a clipboard isn't present
0 commit comments