71bc71a4d24bf1f7c46993e25c225bbbeace7ce3

This commit fixes an issue when running the rest client and token clients on python 3. httplib2 sets the type for the response body as 'bytes' when running on python 3, which requires that it be decoded prior to running json.loads() on it. Additionally, in the v2 token client a type check was done on the response body which was no longer evaluating true because the type was no longer a 'str'. This was fixed as part of the broader cleanup. Change-Id: If4d496c4f10cec7d7050afc4b07f1f263de4c3e5
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