summaryrefslogtreecommitdiffstats
path: root/tests/test_middleware.py
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmouel@chmouel.com>2012-03-20 10:09:25 +0000
committerChmouel Boudjnah <chmouel@chmouel.com>2012-03-20 22:41:40 +0000
commit3a296a458c4e2f9465ddc0330d03c3e7ec0e3c50 (patch)
tree18063055f840db9e42a56a4f51de89dbfdafdefe /tests/test_middleware.py
parent5ea232a09f88d621980cbd5ef4655f9c9a2e2da1 (diff)
downloadkeystone-3a296a458c4e2f9465ddc0330d03c3e7ec0e3c50.tar.gz
keystone-3a296a458c4e2f9465ddc0330d03c3e7ec0e3c50.tar.xz
keystone-3a296a458c4e2f9465ddc0330d03c3e7ec0e3c50.zip
Spring cleaning, fix PEP8 violations.
Change-Id: Ide832cd64c9b285213e23901eaf81946d504e726
Diffstat (limited to 'tests/test_middleware.py')
-rw-r--r--tests/test_middleware.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_middleware.py b/tests/test_middleware.py
index d46348a4..a5740acd 100644
--- a/tests/test_middleware.py
+++ b/tests/test_middleware.py
@@ -95,7 +95,8 @@ class JsonBodyMiddlewareTest(test.TestCase):
_middleware.process_request, req)
def test_no_content_type(self):
- req = make_request(body='{"arg1": "one", "arg2": ["a"]}', method='POST')
+ req = make_request(body='{"arg1": "one", "arg2": ["a"]}',
+ method='POST')
middleware.JsonBodyMiddleware(None).process_request(req)
params = req.environ[middleware.PARAMS_ENV]
self.assertEqual(params, {"arg1": "one", "arg2": ["a"]})