[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0/src/zope/app/tests/ - fix DocResponseWrapper.getBody()

Fred L. Drake, Jr. fdrake at gmail.com
Thu Sep 9 15:08:32 EDT 2004


Log message for revision 27484:
  - fix DocResponseWrapper.getBody()
  - add unit tests for DocResponseWrapper
  
  (merged from Zope3 trunk revision 27483)
  


Changed:
  U   Zope3/branches/ZopeX3-3.0/src/zope/app/tests/functional.py
  A   Zope3/branches/ZopeX3-3.0/src/zope/app/tests/test_functional.py


-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/tests/functional.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/tests/functional.py	2004-09-09 19:03:03 UTC (rev 27483)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/tests/functional.py	2004-09-09 19:08:31 UTC (rev 27484)
@@ -454,6 +454,9 @@
             return "%s\n\n%s" % (self.header_output, body)
         return "%s\n" % (self.header_output)
 
+    def getBody(self):
+        return self.getOutput()
+
 def http(request_string, handle_errors=True):
     """Execute an HTTP request string via the publisher
 

Copied: Zope3/branches/ZopeX3-3.0/src/zope/app/tests/test_functional.py (from rev 27483, Zope3/trunk/src/zope/app/tests/test_functional.py)


Property changes on: Zope3/branches/ZopeX3-3.0/src/zope/app/tests/test_functional.py
___________________________________________________________________
Name: svn:mime-type
   + text/x-python
Name: svn:eol-style
   + native



More information about the Zope3-Checkins mailing list