#NEWLINE# def test_download_object_success( self ) : #NEWLINE# #INDENT# container = Container ( name = 'foo_bar_container' , extra = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , driver = self . driver ) #NEWLINE# obj = Object ( name = 'foo_bar_object' , size = 1000 , hash = None , extra = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , container = container , meta_data = None , driver = self . driver_type ) #NEWLINE# destination_path = ( os . path . abspath ( __file__ ) + '.temp' ) #NEWLINE# result = self . driver . download_object ( obj = obj , destination_path = destination_path , overwrite_existing = False , delete_on_failure = True ) #NEWLINE# self . assertTrue ( result )