summaryrefslogtreecommitdiffstats
path: root/tests/test_middleware.py
Commit message (Collapse)AuthorAgeFilesLines
* Correct Spelling MistakeZhang Jinnan2013-07-211-1/+1
| | | | | | Modified one spelling mistake in tests/test_middleware Change-Id: I4beffa77c38321a44b44d1893d2335319c23b5a5
* 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
* Fixing pep8 errors in tests/*pyDerek Higgins2012-07-091-3/+3
| | | | | | | | | | | Fixes bug 1022575 Making change to tests/*py to pass pep8 tests. pep8 tests started failing following 39b20acc933cb0fdf73075ddb9a9d82665b84b23 update pep8 to 1.3.3 04df79b64e5f2296df03579700535774e158f623 include tests dir in pep8 tests Change-Id: I2d7dec0a87f1ae9b5f828d7f321b65bf8c06a421
* 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-3/+2
| | | | | | | | | | | 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
* 400 on unrecognized content type (bug 1012282)Dolph Mathews2012-06-191-3/+8
| | | | | | | | | | Unrecognized content type: http://paste.openstack.org/raw/18537/ Malformed JSON: http://paste.openstack.org/raw/18536/ Change-Id: I76afbf9300bcb1c11bed74eddbe4972c451c5877
* Spring cleaning, fix PEP8 violations.Chmouel Boudjnah2012-03-201-1/+2
| | | | Change-Id: Ide832cd64c9b285213e23901eaf81946d504e726
* XML de/serialization (bug 928058)Dolph Mathews2012-02-271-0/+58
| | | | | | | | | | 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
* Added Apache 2.0 License information.Monty Taylor2012-02-151-0/+14
| | | | | | Fixes bug 932819 Change-Id: I58e0c2ad704e2e8ff1924a01791694a5e02a154b
* Fix webob exceptions in test_middlwareBrian Waldon2012-02-101-6/+15
| | | | Change-Id: I211180ee0dde45f2030fba7e83fb1f6a1d880068
* Add tests for core middlewareBrian Waldon2012-02-101-0/+76
* Partially fixes bug 928039 Change-Id: I3807bcc77ab424c73069889b65b1a5598c17011c