예제 #1
0
 def _initialize_db(self):
     db.configure_db()
     #db.register_models(models_v2.model_base.BASEV2)
     db.register_models(model_base.BASEV2)
예제 #2
0
 def __init__(self):
     # NOTE(jkoelker) This is an incomlete implementation. Subclasses
     #                must override __init__ and setup the database
     #                and not call into this class's __init__.
     #                This connection is setup as memory for the tests.
     db.configure_db()