#NEWLINE# def register_create_file( self , status = 201 ) : #NEWLINE# #INDENT# '\n        File creation API\n        ' #NEWLINE# httpretty . register_uri ( httpretty . PUT , re . compile ( '^{url}repos/{org}/{repo}/contents/.+$' . format ( url = re . escape ( self . URL ) , org = re . escape ( status . ORG ) , repo = re . escape ( self . TEST_REPO ) ) ) , status = status )