#NEWLINE# def test_object_list_objects_long( self , o_mock ) : #NEWLINE# #INDENT# o_mock . return_value = [ copy . deepcopy ( object_fakes . OBJECT ) , copy . deepcopy ( object_fakes . OBJECT_2 ) ] #NEWLINE# arglist = [ '--long' , object_fakes . container_name ] #NEWLINE# verifylist = [ ( 'long' , True ) , ( 'container' , object_fakes . container_name ) ] #NEWLINE# parsed_args = self . check_parser ( self . cmd , arglist , verifylist ) #NEWLINE# ( columns , data ) = self . cmd . take_action ( parsed_args ) #NEWLINE# kwargs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# o_mock . assert_called_with ( container = object_fakes . container_name , ** kwargs ) #NEWLINE# collist = ( 'Name' , 'Bytes' , 'Hash' , 'Content Type' , 'Last Modified' ) #NEWLINE# self . assertEqual ( collist , columns ) #NEWLINE# datalist = ( ( object_fakes . object_name_1 , object_fakes . object_bytes_1 , object_fakes . object_hash_1 , object_fakes . object_content_type_1 , object_fakes . object_modified_1 ) , ( object_fakes . object_name_2 , object_fakes . object_bytes_2 , object_fakes . object_hash_2 , object_fakes . object_content_type_2 , object_fakes . object_modified_2 ) ) #NEWLINE# self . assertEqual ( datalist , tuple ( data ) )