Пример #1
0
    def test_save_errors(self):
        config = SQLStorageConfiguration()
        engine = SQLStorageEngine(config)
        engine.initialise()
        store = SQLErrorsStore(engine)

        self.assert_errors(store)
Пример #2
0
 def errors_store(self):
     return SQLErrorsStore(self)
Пример #3
0
 def test_initialise(self):
     config = SQLStorageConfiguration()
     engine = SQLStorageEngine(config)
     engine.initialise()
     store = SQLErrorsStore(engine)
     self.assertEqual(store.storage_engine, engine)