def test_ModelStorageEngine_nocaching(project_storage): mse = ModelStorageEngine(project_storage) mse.write("testobject", "myhash") assert mse.exists("myhash") assert mse.load("myhash") == "testobject" assert "myhash" not in mse.cache
def test_ModelStorageEngine_nocaching(project_storage): mse = ModelStorageEngine(project_storage) mse.write('testobject', 'myhash') assert mse.exists('myhash') assert mse.load('myhash') == 'testobject' assert 'myhash' not in mse.cache