1efd3a466453c2e8fbfebc27044f8f6304246edb

This commit adds the first missing unit tests to the token clients. Previously there was no coverage at all for these clients so there was no in-tree method for verifying the functionality of these classes. The coverage of this commit is limited and only covers 2 basic uses of the auth() method in both the v2 and v3 token clients. It will be expanded in future patches. As part of enabling this coverage the fake_http class had to be modified to return a user provided body and response code. Change-Id: I1888b31550e5db4343003b05c0f6865444756789
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