def prepare(self): """ Load fixtures into the database. """ meta = storage.GenericTable.metadata gen = fixtures.Generator(self.db, meta) gen.run(dummy=True)
def prepare(self): """ Load real-world fixtures into the database. """ meta = storage.GenericTable.metadata gen = fixtures.Generator(self.db, meta) gen.run(realworld=True, cache=True)