Exemple #1
0
    def test_user_storage(self):
        config = SQLStorageConfiguration()
        engine = SQLStorageEngine(config)
        engine.initialise()
        store = SQLUserStore(engine)

        self.assert_user_storage(store)
Exemple #2
0
    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)
Exemple #4
0
 def test_initialise(self):
     config = SQLStorageConfiguration()
     engine = SQLStorageEngine(config)
     engine.initialise()
     store = SQLUserStore(engine)
     self.assertEqual(store.storage_engine, engine)