Log message for revision 66609:
  Merged environment pollution fix from 2.9 branch.
  

Changed:
  U   Zope/trunk/lib/python/Products/Sessions/tests/testBrowserIdManager.py

-=-
Modified: Zope/trunk/lib/python/Products/Sessions/tests/testBrowserIdManager.py
===================================================================
--- Zope/trunk/lib/python/Products/Sessions/tests/testBrowserIdManager.py       
2006-04-06 19:11:09 UTC (rev 66608)
+++ Zope/trunk/lib/python/Products/Sessions/tests/testBrowserIdManager.py       
2006-04-06 19:11:54 UTC (rev 66609)
@@ -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

Reply via email to