[Zope-CVS] CVS: Packages/FunctionalTests/FunctionalTests/tests -
test_Request.py:1.1.2.5
Karl Anderson
cvs-admin at zope.org
Wed Nov 12 14:51:48 EST 2003
Update of /cvs-repository/Packages/FunctionalTests/FunctionalTests/tests
In directory cvs.zope.org:/tmp/cvs-serv20031
Modified Files:
Tag: kra-misc-branch
test_Request.py
Log Message:
added HTTPRequestTests.test_result(), ZEORequestTests.test_result()
=== Packages/FunctionalTests/FunctionalTests/tests/test_Request.py 1.1.2.4 => 1.1.2.5 ===
--- Packages/FunctionalTests/FunctionalTests/tests/test_Request.py:1.1.2.4 Fri Nov 7 14:14:12 2003
+++ Packages/FunctionalTests/FunctionalTests/tests/test_Request.py Wed Nov 12 14:51:47 2003
@@ -171,6 +171,12 @@
return self._getTargetClass()( name=name, URL=URL, *args, **kw )
+ def test_result( self ):
+
+ request = self._makeOne()
+ request.setExpectedResult( 'foo' )
+ self.assertEquals( request.getExpectedResult(), 'foo' )
+
def testHostPort(self):
"""
Test that setting the host with or without the port in the URI
@@ -294,6 +300,12 @@
, *args
, **kw
)
+
+ def test_result( self ):
+
+ request = self._makeOne()
+ request.setExpectedResult( 'foo' )
+ self.assertEquals( request.getExpectedResult(), 'foo' )
# TODO: test actual API
More information about the Zope-CVS
mailing list