#NEWLINE# def test_eval_repo_name( self ) : #NEWLINE# #INDENT# result = DownloadGitRepoAction . _eval_repo_name ( 'https://github.com/StackStorm/st2contrib.git' ) #NEWLINE# self . assertEqual ( result , 'st2contrib' ) #NEWLINE# result = DownloadGitRepoAction . _eval_repo_name ( 'https://github.com/StackStorm/st2contrib' ) #NEWLINE# self . assertEqual ( result , 'st2contrib' ) #NEWLINE# result = DownloadGitRepoAction . _eval_repo_name ( 'git@github.com:StackStorm/st2contrib.git' ) #NEWLINE# self . assertEqual ( result , 'st2contrib' ) #NEWLINE# result = DownloadGitRepoAction . _eval_repo_name ( 'git@github.com:StackStorm/st2contrib' ) #NEWLINE# self . assertEqual ( result , 'st2contrib' ) #NEWLINE# result = DownloadGitRepoAction . _eval_repo_name ( 'https://git-wip-us.apache.org/repos/asf/libcloud.git' ) #NEWLINE# self . assertEqual ( self , 'libcloud' )