Exemple #1
0
 def setUp(self):
     super(DatabaseFixture, self).setUp()
     db_url = os.environ.get("RALLY_UNITTEST_DB_URL", "sqlite://")
     db.db_cleanup()
     self.conf.set_default("connection", db_url, group="database")
     db.db_drop()
     db.db_create()
 def setUp(self):
     super(DatabaseFixture, self).setUp()
     db_url = os.environ.get("RALLY_UNITTEST_DB_URL", "sqlite://")
     db.db_cleanup()
     self.conf.set_default("connection", db_url, group="database")
     db.db_drop()
     db.db_create()
Exemple #3
0
 def recreate(self):
     db.db_drop()
     db.db_create()
     envutils.clear_env()
Exemple #4
0
 def recreate(self):
     db.db_drop()
     db.db_create()
     envutils.clear_env()
Exemple #5
0
 def recreate(self):
     """Drop and create Rally database."""
     db.db_drop()
     db.db_create()
     envutils.clear_env()