[Checkins] SVN: z3c.dav/trunk/src/z3c/dav/testing.py Setup a HTTPCaller and getRootFolder variables for some of the WebDAV tests.

Michael Kerrin michael.kerrin at openapp.ie
Tue May 8 14:11:02 EDT 2007


Log message for revision 75629:
  Setup a HTTPCaller and getRootFolder variables for some of the WebDAV tests.
  

Changed:
  U   z3c.dav/trunk/src/z3c/dav/testing.py

-=-
Modified: z3c.dav/trunk/src/z3c/dav/testing.py
===================================================================
--- z3c.dav/trunk/src/z3c/dav/testing.py	2007-05-08 18:09:23 UTC (rev 75628)
+++ z3c.dav/trunk/src/z3c/dav/testing.py	2007-05-08 18:11:01 UTC (rev 75629)
@@ -341,8 +341,12 @@
 
 
 def functionalSetUp(test):
+    test.globs["http"] = zope.app.testing.functional.HTTPCaller()
     test.globs["webdav"] = WebDAVCaller()
+    test.globs["getRootFolder"] = zope.app.testing.functional.getRootFolder
 
 
 def functionalTearDown(test):
+    del test.globs["http"]
     del test.globs["webdav"]
+    del test.globs["getRootFolder"]



More information about the Checkins mailing list