Go to file
ghanshyam f46b6c99e0 Fix 'format' checking for json schema validation
In json schema, "format" keyword is defined to allow inter-operable
semantic validation for a fixed subset of values.
For example - ip address which comes as 'string' can be further checked
with ipv4 or ipv6 format.

ip_address = {
    'type': 'string',
    'oneOf': [
        {'format': 'ipv4'},
        {'format': 'ipv6'}
    ]
}

Json schema does not validate 'format' correctly if FormatChecker is not
passed during validation. Without FormatChecker, it validate all format as true.

To validate 'format' correctly FormatChecker has to be passed while doing schema
validation.

This commit fix this issue and adds unit tests for that.

Closes-Bug:1460975

Change-Id: Iad6ec9644eb1ec976b4a47f7dec127bfaecfd1fa
2015-06-09 17:20:34 +09:00
2014-08-27 22:52:05 -04:00
2014-08-27 22:52:05 -04:00
2014-08-27 22:52:05 -04:00
2014-08-27 22:52:05 -04:00
2014-08-27 22:52:05 -04:00
2014-08-27 22:52:05 -04:00
2014-08-27 22:52:05 -04:00
2014-08-27 22:52:05 -04:00
2014-08-28 23:00:38 -04:00
2015-02-11 19:04:47 -05:00
2014-12-12 22:22:14 +00:00

tempest-lib

OpenStack Functional Testing Library

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
RETIRED, further work has moved to Debian project infrastructure
Readme 832 KiB