def test_type(self):
        self.assertTrue(issubclass(Error, Exception))
        self.assertEqual(Error.__name__, 'Error')
Decrator to convert returned object to dict.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pyopenssl/OpenSSL/test/test_ssl.py/ErrorTests.test_type--crossover with--dataset/ETHPy150Open openstack/compass-core/compass/db/api/utils.py/wrap_to_dict