def test_for_failure(self):
        self.assertRaises(NotImplementedError,
                          object_store.ObjectStore().list_objects,
                          '123', 'abc')
        self.assertRaises(NotImplementedError,
                          object_store.ObjectStore().create_object,
                          '123', 'abc', 'foo')
        self.assertRaises(NotImplementedError,
                          object_store.ObjectStore().retrieve_object,
                          '123', 'abc', 'abc')
        self.assertRaises(NotImplementedError,
                          object_store.ObjectStore().update_object,
                          '123', 'abc', 'abc', 'bar')
        self.assertRaises(NotImplementedError,
                          object_store.ObjectStore().delete_object,
                          '123', 'abc', 'abc')
Test if all throw no impl errors.
dataset/ETHPy150Open tmetsch/suricate/tests/data_object_store_test.py/ObjectStoreTest.test_for_failure