#NEWLINE# def _execute( self , test_case ) : #NEWLINE# #INDENT# ( storage_url , token ) = self . _get_storage_url_and_token ( test_case [ 'target_user_name' ] , service_user [ 'auth_user_name' ] ) #NEWLINE# service_user = test_case [ 'service_user_name' ] #NEWLINE# service_token = ( None if ( service_user is None ) else self . client . auth ( service_user ) [ 1 ] ) #NEWLINE# resource_url = self . _create_resource_url ( storage_url , test_case [ 'account_name' ] , test_case [ 'container_name' ] , test_case [ 'object_name' ] , test_case [ 'reseller_prefix' ] ) #NEWLINE# if ( test_case [ 'http_method' ] in 'PUT' ) : #NEWLINE# #INDENT# self . created_resources . append ( resource_url ) #NEWLINE# #UNINDENT# resp = self . client . send_request ( test_case [ 'http_method' ] , resource_url , token , headers = test_case [ 'header' ] , service_token = service_token ) #NEWLINE# return resp . status