#NEWLINE# @ mock . patch ( 'werckercli.prompt.yn' , mock . Mock ( return_value = True ) ) #NEWLINE# @ mock . patch ( 'werckercli.git.get_priority' , mock . Mock ( return_value = 1 ) ) #NEWLINE# @ mock . patch ( '__builtin__.raw_input' , mock . Mock ( return_value = VALID_GITHUB_SSH_URL ) ) #NEWLINE# def test_valid_ssh( self ) : #NEWLINE# #INDENT# my_cli = cli #NEWLINE# result = my_cli . enter_url ( ) #NEWLINE# self . assertEqual ( self , VALID_GITHUB_SSH_URL )