changeset 4238:f36c84edb3fd

Fixed test: PEP8
author Florian Krupicka <florian.krupicka@googlemail.com>
date Tue, 22 Jul 2008 16:58:41 +0200
parents 162002d5b148
children db15f98e3228
files MoinMoin/auth/_tests/test_auth.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/auth/_tests/test_auth.py	Sun Jul 20 18:49:20 2008 +0200
+++ b/MoinMoin/auth/_tests/test_auth.py	Tue Jul 22 16:58:41 2008 +0200
@@ -69,7 +69,7 @@
         trail_expected = []
         first = True
         for pagename in self.PAGES:
-            environ_overrides = { 'HTTP_COOKIE': cookie }
+            environ_overrides = {'HTTP_COOKIE': cookie}
             request = self.run_request(path='/%s' % pagename,
                                        environ_overrides=environ_overrides)
 
@@ -132,8 +132,8 @@
         trail_expected = []
         first = True
         for pagename in self.PAGES:
-            environ_overrides = { 'HTTP_COOKIE': cookie,
-                                  'HTTP_AUTHORIZATION': auth_header }
+            environ_overrides = {'HTTP_COOKIE': cookie,
+                                 'HTTP_AUTHORIZATION': auth_header}
             request = self.run_request(path='/%s' % pagename,
                                        environ_overrides=environ_overrides)
 
@@ -204,7 +204,7 @@
                                            query_string='action=login',
                                            method='POST', form_data=formdata)
             else: # not first page, use session cookie
-                environ_overrides = { 'HTTP_COOKIE': cookie }
+                environ_overrides = {'HTTP_COOKIE': cookie}
                 request = self.run_request(path='/%s' % pagename,
                                            environ_overrides=environ_overrides)