[Zope-CVS] CVS: Packages/FunctionalTests/FunctionalTests - interfaces.py:1.3.2.2

Karl Anderson cvs-admin at zope.org
Fri Nov 14 17:29:52 EST 2003


Update of /cvs-repository/Packages/FunctionalTests/FunctionalTests
In directory cvs.zope.org:/tmp/cvs-serv30142

Modified Files:
      Tag: kra-misc-branch
	interfaces.py 
Log Message:
added HTTPRequest:setMultipart()


=== Packages/FunctionalTests/FunctionalTests/interfaces.py 1.3.2.1 => 1.3.2.2 ===
--- Packages/FunctionalTests/FunctionalTests/interfaces.py:1.3.2.1	Wed Nov 12 14:53:00 2003
+++ Packages/FunctionalTests/FunctionalTests/interfaces.py	Fri Nov 14 17:29:51 2003
@@ -204,6 +204,10 @@
         """ Should invocations of this request retain cookies?
         """
 
+    def setMultipart():
+        """ Set content-type to multipart/form-data.
+        """
+
     def getContentType():
 
         """ Return the HTTP 'Content-type' to use for this request.
@@ -222,6 +226,13 @@
         o Return None if no function is assigned.
         """
 
+    def getHook():
+
+        """ Return a function used to change configuration variables.
+
+        o Return None if no function is assigned.
+        """
+
     def addHeader( header_desc ):
 
         """ Construct a header tuple and add it to our list.
@@ -267,6 +278,11 @@
         """ Create a checker function as a plugin function.
         """
 
+    def setHook( filename, function ):
+
+        """ Create a hook function as a plugin function.
+        """
+
 
 class IResult( Interface ):
 
@@ -327,6 +343,11 @@
         """ Should we validate elapsed times?
         """
 
+    def checkHook():
+
+        """ Should we call any hooks?
+        """
+
     def listInvocations( roll_up=1 ):
 
         """ Return the list of invocations we manage.
@@ -364,6 +385,11 @@
     def setParent( parent ):
 
         """ Setup our parent request.
+        """
+
+    def updateDefaults( dict ):
+
+        """ Update our defaults dict with dict.
         """
 
     def setCookies( cookies ):




More information about the Zope-CVS mailing list