[Zope3-checkins] SVN: Zope3/branches/stephan_and_jim-response-refactor/src/zope/server/ftp/tests/test_publisher.py Fixed most zope.server failures.

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Sep 2 19:15:47 EDT 2005


Log message for revision 38275:
  Fixed most zope.server failures.
  

Changed:
  U   Zope3/branches/stephan_and_jim-response-refactor/src/zope/server/ftp/tests/test_publisher.py

-=-
Modified: Zope3/branches/stephan_and_jim-response-refactor/src/zope/server/ftp/tests/test_publisher.py
===================================================================
--- Zope3/branches/stephan_and_jim-response-refactor/src/zope/server/ftp/tests/test_publisher.py	2005-09-02 23:12:46 UTC (rev 38274)
+++ Zope3/branches/stephan_and_jim-response-refactor/src/zope/server/ftp/tests/test_publisher.py	2005-09-02 23:15:46 UTC (rev 38275)
@@ -80,16 +80,13 @@
 
     _exc = _body = None
 
-    def setBody(self, result):
-        self._body = result
+    def setResult(self, result):
+        self._result = result
 
-    def outputBody(self):
-        pass
-
     def getResult(self):
         if self._exc:
             raise self._exc[0], self._exc[1]
-        return self._body
+        return self._result
 
 class RequestFactory(object):
 



More information about the Zope3-Checkins mailing list