[Zope-Checkins] SVN: Zope/trunk/lib/python/webdav/tests/testPUT_factory.py added WEBDAV_SOURCE_PORT=1 to request

Andreas Jung andreas at andreas-jung.com
Fri Jan 12 11:24:50 EST 2007


Log message for revision 71975:
  added WEBDAV_SOURCE_PORT=1 to request
  

Changed:
  U   Zope/trunk/lib/python/webdav/tests/testPUT_factory.py

-=-
Modified: Zope/trunk/lib/python/webdav/tests/testPUT_factory.py
===================================================================
--- Zope/trunk/lib/python/webdav/tests/testPUT_factory.py	2007-01-12 15:47:28 UTC (rev 71974)
+++ Zope/trunk/lib/python/webdav/tests/testPUT_factory.py	2007-01-12 16:24:50 UTC (rev 71975)
@@ -27,6 +27,7 @@
             request['BODY'] = 'bar'
             request.environ['CONTENT_TYPE'] = 'text/plain'
             request.environ['REQUEST_METHOD'] = 'PUT'
+            request.environ['WEBDAV_SOURCE_PORT'] = 1
             request._auth = auth_info
         except:
             self.tearDown()
@@ -75,6 +76,7 @@
         addDTMLMethod(self.app, 'a', file='I am file a')
         manage_addFolder(self.app.A, 'B')
         request = self.app.REQUEST
+        import pdb; pdb.set_trace() 
         # this should create 'a' within /A/B containing 'bar'
         put = request.traverse('/A/B/a')
         put(request, request.RESPONSE)



More information about the Zope-Checkins mailing list