#NEWLINE# def setUp( self , core_plugin = None , gp_plugin = None , service_plugins = None , sc_plugin = None ) : #NEWLINE# #INDENT# testlib_api . SqlTestCase . _TABLES_ESTABLISHED = False #NEWLINE# if ( not gp_plugin ) : #NEWLINE# #INDENT# gp_plugin = DB_GP_PLUGIN_KLASS #NEWLINE# #UNINDENT# if ( not service_plugins ) : #NEWLINE# #INDENT# service_plugins = { #NEWLINE# #INDENT# 'l3_plugin_name' : 'router' , #NEWLINE# 'gp_plugin_name' : gp_plugin , #NEWLINE# 'servicechain_plugin' : ( sc_plugin or SC_PLUGIN_KLASS ) , #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# super ( GroupPolicyMappingDbTestCase , self ) . setUp ( core_plugin = core_plugin , gp_plugin = gp_plugin , service_plugins = service_plugins ) #NEWLINE# engine = db_api . get_engine ( ) #NEWLINE# model_base . BASEV2 . metadata . create_all ( engine )