f93048334cf9f93a823dd42387f76ecddf27d30d

This commit adds support to RestClientException objects to store the response body as a local attr. Additionally it modifies all the uses of the subclassed RestClientExceptions in the base rest client to store the response body on each error type. This is done in order to check the content in some occasion that additional error details are coming back from a service in the body. It will be useful to have the resp_body passed into the exception so that it can be used in additional checks. Change-Id: Ie1bb259e7e683081f0ad127617acc8deb98467c0
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