#NEWLINE# def test_qos_show( self ) : #NEWLINE# #INDENT# arglist = [ volume_fakes . qos_id ] #NEWLINE# verifylist = [ ( 'qos_spec' , volume_fakes . qos_id ) ] #NEWLINE# parsed_args = self . check_parser ( self . cmd , arglist , verifylist ) #NEWLINE# ( columns , data ) = self . cmd . take_action ( parsed_args ) #NEWLINE# self . qos_mock . get . assert_called_with ( volume_fakes . qos_id ) #NEWLINE# collist = ( 'associations' , 'consumer' , 'id' , 'name' , 'specs' ) #NEWLINE# self . assertEqual ( collist , columns ) #NEWLINE# datalist = ( volume_fakes . type_name , volume_fakes . qos_consumer , volume_fakes . qos_id , volume_fakes . qos_name , utils . format_dict ( volume_fakes . qos_specs ) ) #NEWLINE# self . assertEqual ( columns , tuple ( data ) )