def test_save_errors(self): config = SQLStorageConfiguration() engine = SQLStorageEngine(config) engine.initialise() store = SQLErrorsStore(engine) self.assert_errors(store)
def errors_store(self): return SQLErrorsStore(self)
def test_initialise(self): config = SQLStorageConfiguration() engine = SQLStorageEngine(config) engine.initialise() store = SQLErrorsStore(engine) self.assertEqual(store.storage_engine, engine)