def setUp(self): self.adapter = DictAdapter() Cacheable.init(self.adapter)
def setUp(self): database = SqliteDatabase(':memory:') self.adapter = PeeweeAdapter(database) self.adapter.create_table() Cacheable.init(self.adapter)
def setUp(self): database = SqliteDatabase(':memory:') self.adapter = PeeweeAdapter(database) PeeweeAdapter.create_table() Cacheable.init(self.adapter)