def test_update_link_not_found(self): config = SQLStorageConfiguration() engine = SQLStorageEngine(config) engine.initialise() store = SQLLinkStore(engine) self.assertEqual(store.storage_engine, engine) self.assert_update_link_not_found(store)
def test_remove_link_with_exception(self): config = SQLStorageConfiguration() engine = SQLStorageEngine(config) engine.initialise() store = SQLLinkStore(engine) self.assertEqual(store.storage_engine, engine) self.assert_remove_link_with_exception(store)
def link_store(self): return SQLLinkStore(self)