We found a bug that the other jsonschema format check('uri') did
not work for input validation. There was not any unit tests for
the format check, then we could not find it in long term.
The bug is fixed with Ibb2b7f27c374136e6865b28786d10ca1365e5709 .
And this patch adds unit tests for the format 'ipv4' and 'ipv6'.
Reviewed: https:/ /review. openstack. org/98011 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=67057e823ab 5a003ed54055f97 08d78ed13eb01a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 67057e823ab5a00 3ed54055f9708d7 8ed13eb01a
Author: Ken'ichi Ohmichi <email address hidden>
Date: Fri Jun 6 10:26:59 2014 +0900
Add unit tests for ipv4/ipv6 format validation
We found a bug that the other jsonschema format check('uri') did 6e6865b28786d10 ca1365e5709 .
not work for input validation. There was not any unit tests for
the format check, then we could not find it in long term.
The bug is fixed with Ibb2b7f27c37413
And this patch adds unit tests for the format 'ipv4' and 'ipv6'.
Change-Id: I6f6636708e3f9a 4eee14451f2baac b50002f1db8
Related-Bug: #1326599