[Zope3-checkins] CVS: Zope3/src/zope/app/dav/tests - test_propfind.py:1.10.10.1

Philipp von Weitershausen philikon at philikon.de
Sun Feb 8 09:34:01 EST 2004


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

Modified Files:
      Tag: philikon-movecontent-branch
	test_propfind.py 
Log Message:
Can't import IZPTPage anymore. Doesn't seem to be needed anyway.
Reorganized the imports.


=== Zope3/src/zope/app/dav/tests/test_propfind.py 1.10 => 1.10.10.1 ===
--- Zope3/src/zope/app/dav/tests/test_propfind.py:1.10	Fri Nov 21 12:11:34 2003
+++ Zope3/src/zope/app/dav/tests/test_propfind.py	Sun Feb  8 09:34:00 2004
@@ -16,33 +16,37 @@
 """
 __metaclass__ = type
 
-from zope.app import zapi
-from zope.app.tests import ztapi
-from datetime import datetime
-from unittest import TestCase, TestSuite, main, makeSuite
 from StringIO import StringIO
+from unittest import TestCase, TestSuite, main, makeSuite
+from datetime import datetime
+
+from zope.interface import implements
 from zope.component import getService, getView, getAdapter
+from zope.publisher.interfaces.http import IHTTPRequest
+from zope.pagetemplate.tests.util import normalize_xml
+from zope.schema import getFieldNamesInOrder
+from zope.schema.interfaces import IText, ITextLine, IDatetime, ISequence
+
+from zope.app import zapi
+from zope.app.tests import ztapi
+
 from zope.app.services.servicenames import Adapters
 from zope.app.traversing import traverse
 from zope.publisher.browser import TestRequest
 from zope.app.interfaces.file import IWriteFile
-from zope.app.interfaces.content.zpt import IZPTPage
 from zope.app.services.tests.placefulsetup import PlacefulSetup
-from zope.publisher.interfaces.http import IHTTPRequest
 from zope.app.browser.absoluteurl import AbsoluteURL
-from zope.pagetemplate.tests.util import normalize_xml
-from zope.schema import getFieldNamesInOrder
 from zope.app.interfaces.container import IReadContainer
-from zope.schema.interfaces import IText, ITextLine, IDatetime, ISequence
-from zope.app.dav import propfind
-from zope.app.interfaces.dav import IDAVSchema
-from zope.app.dav.widget import TextDAVWidget, SequenceDAVWidget
-from zope.app.dav.globaldavschemaservice import provideInterface
 from zope.app.interfaces.dublincore import IZopeDublinCore
 from zope.app.dublincore.annotatableadapter import ZDCAnnotatableAdapter
 from zope.app.interfaces.annotation import IAnnotatable, IAnnotations
 from zope.app.attributeannotations import AttributeAnnotations
-from zope.interface import implements
+
+from zope.app.dav import propfind
+from zope.app.interfaces.dav import IDAVSchema
+from zope.app.dav.widget import TextDAVWidget, SequenceDAVWidget
+from zope.app.dav.globaldavschemaservice import provideInterface
+
 import zope.app.location
 
 class Folder(zope.app.location.Location):
@@ -80,7 +84,7 @@
 
 class FooZPT(zope.app.location.Location):
 
-    implements(IAnnotatable, IZPTPage)
+    implements(IAnnotatable)
 
     def getSource(self):
         return 'bla bla bla'




More information about the Zope3-Checkins mailing list