Log message for revision 66605: Tests should not pollute os.environ when a dict will do just fine; this caused failures in testVirtualHostMonster when Testing/makerequest was modified.
Changed: U Zope/branches/2.9/lib/python/Products/Sessions/tests/testBrowserIdManager.py -=- Modified: Zope/branches/2.9/lib/python/Products/Sessions/tests/testBrowserIdManager.py =================================================================== --- Zope/branches/2.9/lib/python/Products/Sessions/tests/testBrowserIdManager.py 2006-04-06 18:56:13 UTC (rev 66604) +++ Zope/branches/2.9/lib/python/Products/Sessions/tests/testBrowserIdManager.py 2006-04-06 19:03:04 UTC (rev 66605) @@ -27,7 +27,6 @@ from ZPublisher.HTTPResponse import HTTPResponse from ZPublisher.BeforeTraverse import queryBeforeTraverse from sys import stdin -from os import environ from OFS.Application import Application class TestBrowserIdManager(TestCase): @@ -38,6 +37,7 @@ self.app._setObject('browser_id_manager', mgr) self.m = self.app.browser_id_manager resp = HTTPResponse() + environ = {} environ['SERVER_NAME']='fred' environ['SERVER_PORT']='80' self.req = HTTPRequest(stdin, environ, resp) @@ -238,6 +238,7 @@ bid = '43295340A0bpcu4nkCI' name = '_ZopeId' resp = HTTPResponse() + environ = {} environ['SERVER_NAME']='fred' environ['SERVER_PORT']='80' self.req = HTTPRequest(stdin, environ, resp) _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins