File: compare-header-version-func-de5139b2161b3627.yaml

package info (click to toggle)
tempest 1%3A19.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,564 kB
  • sloc: python: 69,123; sh: 196; makefile: 80
file content (15 lines) | stat: -rw-r--r-- 674 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
features:
  - |
    Add a new function called ``compare_version_header_to_response`` to
    ``tempest.lib.common.api_version_utils``, which compares the API
    microversion in the response header to another microversion using the
    comparators defined in
    ``tempest.lib.common.api_version_request.APIVersionRequest``.

    It is now possible to determine how to retrieve an attribute from a
    response body of an API call, depending on the returned microversion.

    Add a new exception type called ``InvalidParam`` to
    ``tempest.lib.exceptions``, allowing the possibility of raising an
    exception if an invalid parameter is passed to a library function.