#NEWLINE# @ httpretty . activate #NEWLINE# def test_create_repo_exists( self ) : #NEWLINE# #INDENT# 'Test what happens when the repo exists.' #NEWLINE# self . register_repo_check ( partial ( self . callback_repo_check , status_code = 200 ) ) #NEWLINE# git_hub = GitHub ( self . URL , self . OAUTH2_TOKEN ) #NEWLINE# with self . assertRaises ( GitHubRepoExists ) : #NEWLINE# #INDENT# git_hub . create_repo ( git_hub . ORG , self . TEST_REPO , self . TEST_DESCRIPTION )