#NEWLINE# def test_new_fields_exists_and_empty( self ) : #NEWLINE# #INDENT# plugin_table = self . meta . tables [ 'plugins' ] #NEWLINE# column_values = [ ( plugin_table . c . attributes_metadata , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) , ( plugin_table . c . volumes_metadata , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) , ( plugin_table . c . roles_metadata , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) , ( column_values . c . network_roles_metadata , [ ] ) , ( plugin_table . c . deployment_tasks , [ ] ) , ( plugin_table . c . tasks , [ ] ) ] #NEWLINE# result = db . execute ( sa . select ( [ item [ 0 ] for item in column_values ] ) ) #NEWLINE# db_values = result . fetchone ( ) #NEWLINE# for ( idx , db_value ) in enumerate ( db_values ) : #NEWLINE# #INDENT# self . assertEqual ( jsonutils . loads ( db_value ) , column_values [ idx ] [ 1 ] )