The jsonschema 2.4.0 release slightly changed some of the error messages
that are provided when validation fails. This patch updates the unit tests to
expect the proper string and avoid failing as a result by using regex
(.0)? instead of specific value.
Reviewed: https:/ /review. openstack. org/115946 /git.openstack. org/cgit/ openstack/ sahara/ commit/ ?id=822c2f053f8 aef6d75e82631c7 881cb64b7fa0a7
Committed: https:/
Submitter: Jenkins
Branch: master
commit 822c2f053f8aef6 d75e82631c7881c b64b7fa0a7
Author: Sergey Lukjanov <email address hidden>
Date: Thu Aug 21 15:37:08 2014 +0400
Fix jsonschema>=2.4.0 message assertion
The jsonschema 2.4.0 release slightly changed some of the error messages
that are provided when validation fails. This patch updates the unit tests to
expect the proper string and avoid failing as a result by using regex
(.0)? instead of specific value.
Change-Id: Ifd41147fd61570 38b102c78144d1f 6cb16cc25e6
Closes-bug: #1359284