[Zope3-checkins] CVS: Zope3/src/zope/app/dav/ftests - dav.py:1.2.16.1

Philipp von Weitershausen philikon at philikon.de
Sun Feb 8 09:36:05 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/dav/ftests
In directory cvs.zope.org:/tmp/cvs-serv17544/dav/ftests

Modified Files:
      Tag: philikon-movecontent-branch
	dav.py 
Log Message:
Folder has moved. Can't import ZPTPage from zope.app.content anymore, need
to define stub Page object for tests.


=== Zope3/src/zope/app/dav/ftests/dav.py 1.2 => 1.2.16.1 ===
--- Zope3/src/zope/app/dav/ftests/dav.py:1.2	Sun Sep 21 13:30:44 2003
+++ Zope3/src/zope/app/dav/ftests/dav.py	Sun Feb  8 09:36:04 2004
@@ -17,12 +17,14 @@
 """
 
 from zope.testing.functional import HTTPTestCase
-from zope.app.content.zpt import ZPTPage
-from zope.app.content.folder import Folder
+from zope.app.folder import Folder
 from transaction import get_transaction
 
 __metaclass__ = type
 
+class Page:
+    pass
+
 class DAVTestCase(HTTPTestCase):
 
     def createFolders(self, path):
@@ -47,7 +49,6 @@
         get_transaction().commit()
 
     def addPage(self, path, content):
-        page = ZPTPage()
+        page = Page()
         page.source = content
         self.createObject(path, page)
-




More information about the Zope3-Checkins mailing list