9 Commits

Author SHA1 Message Date
Derek Higgins
7cdae1bc02 Fixing pep8 errors in tests/*py
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
2012-07-09 16:11:30 +01:00
Zhongyue Luo
a7417e26d8 Reorder test imports by full import path
Fixes bug #1020182

Reorder imports of modules in keystone/tests.

Change-Id: I2ff61dd3d9486281b4a2a889e4dc8b9105c87d49
2012-07-03 00:21:39 +08:00
Zhongyue Luo
cb747079d0 Keystone should use openstack.common.jsonutils
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
2012-06-28 06:04:53 +08:00
Dolph Mathews
489c6b60d1 400 on unrecognized content type (bug 1012282)
Unrecognized content type:
  http://paste.openstack.org/raw/18537/

Malformed JSON:
  http://paste.openstack.org/raw/18536/

Change-Id: I76afbf9300bcb1c11bed74eddbe4972c451c5877
2012-06-19 14:17:24 -05:00
Chmouel Boudjnah
3a296a458c Spring cleaning, fix PEP8 violations.
Change-Id: Ide832cd64c9b285213e23901eaf81946d504e726
2012-03-20 22:41:40 +00:00
Dolph Mathews
212489084f XML de/serialization (bug 928058)
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
2012-02-27 09:58:04 -06:00
Monty Taylor
8d7189f117 Added Apache 2.0 License information.
Fixes bug 932819

Change-Id: I58e0c2ad704e2e8ff1924a01791694a5e02a154b
2012-02-15 17:48:33 -08:00
Brian Waldon
d049c19227 Fix webob exceptions in test_middlware
Change-Id: I211180ee0dde45f2030fba7e83fb1f6a1d880068
2012-02-10 14:33:38 -08:00
Brian Waldon
363a5d63c0 Add tests for core middleware
* Partially fixes bug 928039

Change-Id: I3807bcc77ab424c73069889b65b1a5598c17011c
2012-02-10 10:55:16 -08:00