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: Ifd41147fd6157038b102c78144d1f6cb16cc25e6
Closes-bug: #1359284
(cherry picked from commit 822c2f053f8aef6d75e82631c7881cb64b7fa0a7)
Reviewed: https:/ /review. openstack. org/121521 /git.openstack. org/cgit/ openstack/ sahara/ commit/ ?id=03ef7dd4a28 b976e6b853aa70b f81ac3f68f46a0
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 03ef7dd4a28b976 e6b853aa70bf81a c3f68f46a0
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 d75e82631c7881c b64b7fa0a7)
Closes-bug: #1359284
(cherry picked from commit 822c2f053f8aef6