Пример #1
0
    def test_initialise(self):

        config = SQLStorageConfiguration()
        engine = SQLStorageEngine(config)
        engine.initialise()
        with self.assertRaises(NotImplementedError):
            engine.binaries_store()
Пример #2
0
    def test_initialise(self):

        config = SQLStorageConfiguration()
        engine = SQLStorageEngine(config)
        engine.initialise()
        with self.assertRaises(StorageEngineException):
            engine.binaries_store()