Beispiel #1
0
    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)
Beispiel #2
0
    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)