summaryrefslogtreecommitdiff
path: root/tests/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix and enable H401"0.3.1Jenkins2013-06-281-3/+4
|\
| * Fix and enable H401Dirk Mueller2013-06-271-3/+4
| | | | | | | | | | | | Remove leading spaces from doc comments. Change-Id: I75b055c0d64dda478c63839d44158e301900107f
* | Unmock requests when testing complete.Jamie Lennox2013-06-241-8/+17
|/ | | | | | | Any other tests running will unexpectedly have mocks installed for requests otherwise. Make the time mock behave the same way whilst there. Change-Id: Iec4f35c51ed4650a35ae2780637192c82042a980
* Implements v3 auth client.lin-hua-cheng2013-06-201-0/+2
| | | | | | | | | | | Added support for domain scoping. Enhancement on AccessInfo to support reading v2/v3 token information. Enhancement on ServiceCatalog for reading/filtering v2/v3 service catalog information. Change-Id: Ibb678b9933d3673e37d0fba857a152a3c5d2b4f4
* Allow requests up to 0.8 and greaterChuck Short2013-02-111-2/+0
| | | | | | | | | | The requests module dropped all configuration with the 1.0.0 release. There's no danger_mode and no 'verbose'' mode. The former shouldn't be necessary anymore and the latter can be done by setting a different log handler for the request.logging root logger. Change-Id: I41bfaf2574f6d7fc21f86e0124ceae7df6481eee Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Use testtools instead of unittest for base classes.Monty Taylor2012-12-251-5/+5
| | | | | | part of blueprint grizzle-testtools Change-Id: Ic9b438b4224d945e080d1d6071742ddc47ee81ed
* Use requests module for HTTP/HTTPSDean Troyer2012-12-181-3/+34
| | | | | | | | | | | | | * Implement correct certificate verification * Add requests to tools/pip-requires * Fix OS_CACERT env var help text * Add info to README * Rework tests to use requests Pinned requests module to < 1.0 as 1.0.2 is now current in pipi as of 17Dec2012. Change-Id: I120d2c12d6f20ebe2fd7182ec8988cc73f623b80
* Use unittest2 instead of unittest.Ken Thomas2012-02-151-1/+1
| | | | | | | | | This allows the test to run on RHEL 6.2 and python 2.6. Fixed bug 933076 Change-Id: Idb026114ac1813266d77a70d13b0c3b9467f5199
* Support for version and extension discoveryessex-3Ziad Sawalha2012-01-201-2/+25
| | | | | | | | | | | | | | | | | | | | | | | - Supports unauthenticated call to Keystone to discover supported API versions - Added command-line support (usage: keystone discover) - Added client support (keystoneclient.genenric client). Client returns dicts, whereas shell command prints formated output. - Added tests for genenric client - Replicates 'nove discover' in python-novaclient - Starts to address blueprint keystone-client - keystone discover output looks like this: $ keystone discover Keystone found at http://localhost:35357 - supports version v1.0 (DEPRECATED) here http://localhost:35357/v1.0 - supports version v1.1 (CURRENT) here http://localhost:35357/v1.1 - supports version v2.0 (BETA) here http://localhost:35357/v2.0 - and HP-IDM: HP Token Validation Extension - and OS-KSADM: Openstack Keystone Admin - and OS-KSCATALOG: Openstack Keystone Catalog Change-Id: Id16d34dac094c780d36afb3e31c98c318b6071ac
* should have had tenant_nameJesse Andrews2011-12-191-1/+1
|
* remove X-Auth-Project-Id, re-add auth by token support (most tests pass)Jesse Andrews2011-12-181-2/+2
|
* Initial commit.Gabriel Hurley2011-10-251-0/+81