[Zope3-checkins] CVS: Zope3/src/zope/publisher/tests -
test_baserequest.py:1.5
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sat Mar 20 11:27:20 EST 2004
Update of /cvs-repository/Zope3/src/zope/publisher/tests
In directory cvs.zope.org:/tmp/cvs-serv11342/src/zope/publisher/tests
Modified Files:
test_baserequest.py
Log Message:
Added test to ensure request attribute is set in response objects.
=== Zope3/src/zope/publisher/tests/test_baserequest.py 1.4 => 1.5 ===
--- Zope3/src/zope/publisher/tests/test_baserequest.py:1.4 Mon Apr 28 09:14:22 2003
+++ Zope3/src/zope/publisher/tests/test_baserequest.py Sat Mar 20 11:27:20 2004
@@ -11,9 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""baserequest tests
-Revision information:
$Id$
"""
@@ -88,7 +87,10 @@
def _IEnumerableMapping__absentKeys(self):
return 'foo', 'bar'
-
+ def test_SetRequestInResponse(self):
+ request = self._Test__new()
+ self.assertEqual(request.response._request, request)
+
def test_suite():
return makeSuite(TestBaseRequest)
More information about the Zope3-Checkins
mailing list