#NEWLINE# @ testing . provide_metadata #NEWLINE# def _test_get_view_definition( self , schema = None ) : #NEWLINE# #INDENT# meta = self . metadata #NEWLINE# ( users , addresses , dingalings ) = ( self . tables . users , self . tables . email_addresses , self . tables . dingalings ) #NEWLINE# view_name1 = 'users_v' #NEWLINE# view_name2 = 'email_addresses_v' #NEWLINE# insp = inspect ( meta . bind ) #NEWLINE# v1 = insp . get_view_definition ( view_name1 , schema = schema ) #NEWLINE# self . assert_ ( v1 ) #NEWLINE# v2 = insp . get_view_definition ( view_name2 , schema = schema ) #NEWLINE# self . assert_ ( v2 )