def test_user_storage(self): config = SQLStorageConfiguration() engine = SQLStorageEngine(config) engine.initialise() store = SQLUserStore(engine) self.assert_user_storage(store)
def test_remove_user_from_all_clients_exception(self): config = SQLStorageConfiguration() engine = SQLStorageEngine(config) engine.initialise() store = SQLUserStore(engine) self.assert_remove_user_from_all_clients_exception(store)
def user_store(self): return SQLUserStore(self)
def test_initialise(self): config = SQLStorageConfiguration() engine = SQLStorageEngine(config) engine.initialise() store = SQLUserStore(engine) self.assertEqual(store.storage_engine, engine)