summaryrefslogtreecommitdiffstats
path: root/tests/test_versions.py
Commit message (Collapse)AuthorAgeFilesLines
* Python 3.x compatible use of printDirk Mueller2013-07-091-1/+0
| | | | | | | Use print in a style that looks as a print function to Python 3.x. Change-Id: I3c7a4e7a1b9a519cc1c369a9ec6a1e3da1211394
* Merge "Version response compatible with Folsom"Jenkins2013-06-241-0/+5
|\
| * Version response compatible with FolsomBrant Knudson2013-06-111-0/+5
| | | | | | | | | | | | | | | | | | | | This change adds <link> elements to the <version id="v2.0"> element in the version response to be compatible with the response given by the Keystone server in the Folsom release. Fixes bug 1187101 Change-Id: Ida71e2dbe3cf432d429fb739e68a83d7e009ca40
* | Isolate eventlet code into environment.Jamie Lennox2013-06-181-1/+2
|/ | | | | | | | | | | | | | | | | | The environment module will be configured once, during code initialization. Subsequently all other possibly-evented modules will retrieve from environment and transparently obtain either the eventlet or standard library modules. If eventlet, httplib, subprocess or other environment dependant module is referenced outside of the environment module it should be considered a bug. The changes to tests are required to ensure that test is imported first to setup the environment. Hopefully these can all be replaced with an __init__.py in a post-nose keystone. Implements: blueprint extract-eventlet Change-Id: Icacd6f2ee0906ac5d303777c1f87a184f38283bf
* Adds tests for XML version responseBrant Knudson2013-06-111-0/+159
| | | | | | | | | | Adds tests for the version response when use Accept: application/xml To share code, moved assertEqualXML from test_serializer to keystone.test. Change-Id: I92e28a9167d0c77fc7efbd1eda2893ec1128354f
* Make versions aware of enabled pipelines.Dan Prince2013-03-211-0/+63
| | | | | | | | | | | | | | | | | | Updates to make our versions controller a bit smarter so that it only returns information on API versions which are actually running. With these changes a user can disable the v2.0 or v3 API versions in their pipeline, restart keystone, and then have versions return information only for the versions which are actually running. This is important because auth_token now uses info from the keystone versions controller (in some cases) to dynamically select an API version. Fixes LP Bug #1158470. Change-Id: I0fa8a82f08e7247c44fb7f4ff8dbb7d4ad58b9cc
* Make Keystone return v3 as part of the version apiHenry Nash2013-03-091-82/+147
| | | | | | | | | | The keystone "get version" api currently fails to list v3 as a supported api. It should now do this, along with v2 (which is, of course, still supported) Fixes Bug #1148186 Change-Id: Ie88bf941123702d2f7e2ecf6cecb1fa937ca1e52
* mark 2.0 API as stableAdam Young2013-03-061-4/+4
| | | | | | Bug 1135230 Change-Id: Icb0ae39b5ac4514c04220b846ebbe24d059ba6c1
* Reorder test imports by full import pathZhongyue Luo2012-07-031-1/+1
| | | | | | | | Fixes bug #1020182 Reorder imports of modules in keystone/tests. Change-Id: I2ff61dd3d9486281b4a2a889e4dc8b9105c87d49
* Keystone should use openstack.common.jsonutilsZhongyue Luo2012-06-281-5/+4
| | | | | | | | | | | Implements blueprint use-common-jsonutils 1. Edit openstack-common.conf and import keystone/openstack/common/jsonutils.py 2. Remove json package imports and replace with jsonutils Client code in vendor/ hasn't been changed Change-Id: I57c670fde9f2c2241eddab1b012e8d5e6a72deb7
* XML de/serialization (bug 928058)Dolph Mathews2012-02-271-52/+74
| | | | | | | | | | Middleware rewrites incoming XML requests as JSON, and outgoing JSON as XML, per Accept and Content-Type headers. Tests assert that core API methods support WADL/XSD specs, and cover JSON content as well. Change-Id: I6897971dd745766cbc472fd6e5346b1b34d933b0
* Fix copyright dates and remove duplicate Apache licenses.Shevek2012-02-221-23/+9
| | | | Change-Id: I8c4b3bace0d22798d0889342662e99b24887ca85
* Should return 300 Multiple Choice (bug 925548)Dolph Mathews2012-02-171-0/+2
| | | | Change-Id: Ieee2f747cf19822fadadd1e27008063e7f946e42
* Added Apache 2.0 License information.Monty Taylor2012-02-151-0/+14
| | | | | | Fixes bug 932819 Change-Id: I58e0c2ad704e2e8ff1924a01791694a5e02a154b
* Add version description to root pathAnthony Young2012-02-101-0/+107
* Fixes 925548 * Fix test for correct assertion * / returns {} Change-Id: I1067b402ad1bab474781e29ab7761f644f076540