7c2ad79c30f67656daae206a5caaa828b445f33f

JSON Schema use validator (draft3 or draft4) to validate the given schema against given instance. By default it use draft4 validator which is current one. If new validator will be released in future and that become default then, there might be some compatibility issues between draft4 and new version. For example from draft3 to draft4, 'ip-version' format has been changed to 'ipv4'. This commits explicitly pass the validator while doing the schema validation. Also adds unit tests to check the current version of validator. If any new validator will be available in future, then we can use that by doing proper modification in schema files if needed. Change-Id: Ie11e3ba60926f247a82670b7da37d7890d16280c
tempest-lib
OpenStack Functional Testing Library
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/tempest-lib
- Source: http://git.openstack.org/cgit/openstack/tempest-lib
- Bugs: http://bugs.launchpad.net/tempest
tempest-lib is a library of common functionality that was originally in tempest (or similar in scope to tempest)
Features
Some of the current functionality exposed from the library includes:
- OpenStack python-* client CLI testing framework
- subunit-trace: A output filter for subunit streams. Useful in conjunction
-
with calling a test runner that emits subunit
- A unified REST Client
- Utility functions:
- skip_because: Skip a test because of a bug
- find_test_caller: Perform stack introspection to find the test caller.
-
common methods
Description