#NEWLINE# def test_catalog_list( self ) : #NEWLINE# #INDENT# arglist = [ ] #NEWLINE# verifylist = [ ] #NEWLINE# parsed_args = self . check_parser ( self . cmd , arglist , verifylist ) #NEWLINE# ( columns , data ) = self . cmd . take_action ( parsed_args ) #NEWLINE# self . sc_mock . service_catalog . get_data . assert_called_with ( ) #NEWLINE# self . assertEqual ( self . columns , columns ) #NEWLINE# datalist = ( ( 'supernova' , 'compute' , 'one\n  publicURL: https://public.one.example.com\n  internalURL: https://internal.one.example.com\n  adminURL: https://admin.one.example.com\ntwo\n  publicURL: https://public.two.example.com\n  internalURL: https://internal.two.example.com\n  adminURL: https://admin.two.example.com\n' ) , ) #NEWLINE# self . assertEqual ( columns , tuple ( data ) )