From 7cdae1bc02df9a6b79a7ee3e5ebc807bcdd11430 Mon Sep 17 00:00:00 2001 From: Derek Higgins Date: Mon, 9 Jul 2012 16:05:59 +0100 Subject: 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 --- tests/test_s3_token_middleware.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tests/test_s3_token_middleware.py') diff --git a/tests/test_s3_token_middleware.py b/tests/test_s3_token_middleware.py index 1d400ad5..745e5d4f 100644 --- a/tests/test_s3_token_middleware.py +++ b/tests/test_s3_token_middleware.py @@ -28,11 +28,9 @@ from keystone.openstack.common import jsonutils def denied_request(code): error_table = { - 'AccessDenied': - (401, 'Access denied'), - 'InvalidURI': - (400, 'Could not parse the specified URI'), - } + 'AccessDenied': (401, 'Access denied'), + 'InvalidURI': (400, 'Could not parse the specified URI'), + } xml = '\r\n\r\n ' \ '%s\r\n %s\r\n\r\n' \ % (code, error_table[code][1]) -- cgit