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 recreate(self): db.db_drop() db.db_create() envutils.clear_env()
def recreate(self): """Drop and create Rally database.""" db.db_drop() db.db_create() envutils.clear_env()