def duplicates_store(self): return FileDuplicatesStore(self)
def test_initialise(self): config = FileStorageConfiguration() engine = FileStorageEngine(config) engine.initialise() store = FileDuplicatesStore(engine) self.assertEqual(store.storage_engine, engine)