def setUp(self): self.test_folder = tempfile.mkdtemp(suffix='biicode', dir=BII_TEST_FOLDER) self.db = hivedb.factory(os.path.join(self.test_folder, "mytestdb.db"))
def initialize(self): self._hivedb = hivedb.factory(self._bii_paths.new_project_db) self.settings self.policies
def hivedb(self): """Return HiveDB object.""" if self._hivedb is None: self._hivedb = hivedb.factory(self._bii_paths.hivedb) return self._hivedb
def setUp(self): self.hiveFolder = tempfile.mkdtemp(suffix='biicode', dir=BII_TEST_FOLDER) self.hivedb = hivedb.factory(os.path.join(self.hiveFolder, "mytestdb.db")) self.db = MigrationStore(self.hivedb)