def test_caching_read(): db = Flata(storage=CachingMiddleware(MemoryStorage)) assert not db.all()
def readJson(path_db): db = Flata(path_db, storage=JSONStorage) dic = db.all() return dic