#NEWLINE# @ mock . patch ( 'werckercli.cli.puts' , mock . Mock ( return_value = False ) ) #NEWLINE# @ mock . patch ( 'werckercli.prompt.yn' , mock . Mock ( return_value = False ) ) #NEWLINE# @ mock . patch ( 'werckercli.git.get_priority' , mock . Mock ( return_value = 0 ) ) #NEWLINE# @ mock . patch ( '__builtin__.raw_input' , mock . Mock ( return_value = 'INVALID_GITHUB_SSH_URL' ) ) #NEWLINE# def test_invalid_location_no_loop( self ) : #NEWLINE# #INDENT# my_cli = cli #NEWLINE# result = my_cli . enter_url ( loop = False ) #NEWLINE# self . assertEqual ( result , None )