diff options
author | Gustavo Picon <tabo@tabo.pe> | 2014-01-12 20:04:16 -0500 |
---|---|---|
committer | Gustavo Picon <tabo@tabo.pe> | 2014-01-12 20:04:16 -0500 |
commit | 89b473735d830a1eda091da5f726ea74a110f7ea (patch) | |
tree | 07c1716a9c20b3366ce70d1b8932a44eb69e8ea1 /cherrypy/test/test_session.py | |
parent | ebbf43f5ff35c39d5f936b47a5a68d54eaaf27cf (diff) | |
download | cherrypy-git-89b473735d830a1eda091da5f726ea74a110f7ea.tar.gz |
More PEP8 work.
Diffstat (limited to 'cherrypy/test/test_session.py')
-rwxr-xr-x | cherrypy/test/test_session.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cherrypy/test/test_session.py b/cherrypy/test/test_session.py index 70155a50..355a2a3a 100755 --- a/cherrypy/test/test_session.py +++ b/cherrypy/test/test_session.py @@ -307,9 +307,10 @@ class SessionTest(helper.CPWebCase): # grab the cookie ID id1 = self.cookies[0][1].split(";", 1)[0].split("=", 1)[1] self.getPage('/testStr', - headers=[('Cookie', - 'session_id=maliciousid; ' - 'expires=Sat, 27 Oct 2017 04:18:28 GMT; Path=/;')]) + headers=[ + ('Cookie', + 'session_id=maliciousid; ' + 'expires=Sat, 27 Oct 2017 04:18:28 GMT; Path=/;')]) id2 = self.cookies[0][1].split(";", 1)[0].split("=", 1)[1] self.assertNotEqual(id1, id2) self.assertNotEqual(id2, 'maliciousid') |