** Changed in: glance
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1132840
Title:
Latest jsonschema release breaks unit tests
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Released
Bug description:
jsonschema v1.0.0 was release on 02/25/2013 this update breaks the
unit tests with a failure like:
ft50.1:
glance.tests.unit.v2.test_images_resource.TestImagesDeserializerWithExtendedSchema.test_create_StringException:
Traceback (most recent call last):
File
"/home/jenkins/workspace/gate-glance-python27/glance/tests/unit/v2/test_images_resource.py",
line 1237, in test_create
output = self.deserializer.create(request)
File
"/home/jenkins/workspace/gate-glance-python27/glance/api/v2/images.py", line
206, in create
self.schema.validate(body)
File "/home/jenkins/workspace/gate-glance-python27/glance/schema.py", line
32, in validate
jsonschema.validate(obj, self.raw())
File
"/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/jsonschema.py",
line 1239, in validate
cls.check_schema(schema)
File
"/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/jsonschema.py",
line 141, in check_schema
error.message, validator=error.validator, path=error.path,
SchemaError: True is not of type u'array'
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1132840/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp