Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Sutherland committed Feb 3, 2011
1 parent 6f02c70 commit 5aa400b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/zope/testbrowser/tests/helper.py
Expand Up @@ -40,5 +40,4 @@ def sub(self, replacement, text):
(re.compile(r'; charset=UTF-8'), ';charset=utf-8'),
# webtest seems to expire cookies one second before the date set in set_cookie
(re.compile(r"'expires': datetime.datetime\(2029, 12, 31, 23, 59, 59, tzinfo=<UTC>\),"), "'expires': datetime.datetime(2030, 1, 1, 0, 0, tzinfo=<UTC>),"),
(re.compile(r"Object: <WSGI application>,"), "Object: <zope.site.folder.Folder object at ...>,"),
])
1 change: 1 addition & 0 deletions src/zope/testbrowser/tests/test_wsgi.py
Expand Up @@ -40,3 +40,4 @@ def test_layer(self):
browser = zope.testbrowser.wsgi.Browser()
browser.open('http://localhost')
self.assertTrue(browser.contents.startswith('Hello world!\n'))
# XXX test for authorization header munging is missing
2 changes: 1 addition & 1 deletion src/zope/testbrowser/wsgi.py
@@ -1,6 +1,6 @@
##############################################################################
#
# Copyright (c) 2010 Zope Foundation and Contributors.
# Copyright (c) 2010-2011 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Expand Down

0 comments on commit 5aa400b

Please sign in to comment.