[Zope-CVS] SVN: book/trunk/ Updated to reflect latest doctest API
changes.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Aug 30 22:10:48 EDT 2004
Log message for revision 27360:
Updated to reflect latest doctest API changes.
Changed:
U book/trunk/insensitivefolder/tests.py
U book/trunk/keeperannotations/tests.py
U book/trunk/photodavns/tests.py
-=-
Modified: book/trunk/insensitivefolder/tests.py
===================================================================
--- book/trunk/insensitivefolder/tests.py 2004-08-31 02:10:12 UTC (rev 27359)
+++ book/trunk/insensitivefolder/tests.py 2004-08-31 02:10:47 UTC (rev 27360)
@@ -17,7 +17,7 @@
"""
import unittest
from zope.app.container.tests import test_containertraverser
-from book.insensitivefolder import CaseInsensitiveContainerTraverser
+from book.insensitivefolder import CaseInsensitiveFolderTraverser
class Container(test_containertraverser.TestContainer):
@@ -31,7 +31,7 @@
class InsensitiveCaseTraverserTest(test_containertraverser.TraverserTest):
def _getTraverser(self, context, request):
- return CaseInsensitiveContainerTraverser(context, request)
+ return CaseInsensitiveFolderTraverser(context, request)
def _getContainer(self, **kw):
return Container(**kw)
Modified: book/trunk/keeperannotations/tests.py
===================================================================
--- book/trunk/keeperannotations/tests.py 2004-08-31 02:10:12 UTC (rev 27359)
+++ book/trunk/keeperannotations/tests.py 2004-08-31 02:10:47 UTC (rev 27360)
@@ -35,7 +35,7 @@
from book.keeperannotations.interfaces import IKeeperAnnotatable
from book.keeperannotations import KeeperAnnotations
-def customSetUp():
+def customSetUp(test):
setUp()
classImplements(Folder, IAttributeAnnotatable)
ztapi.provideAdapter(IKeeperAnnotatable, IAnnotations,
Modified: book/trunk/photodavns/tests.py
===================================================================
--- book/trunk/photodavns/tests.py 2004-08-31 02:10:12 UTC (rev 27359)
+++ book/trunk/photodavns/tests.py 2004-08-31 02:10:47 UTC (rev 27360)
@@ -25,7 +25,7 @@
from book.photodavns.interfaces import IPhoto
from book.photodavns import ImagePhotoNamespace
-def setUp():
+def setUp(test):
placelesssetup.setUp()
ztapi.provideAdapter(IImage, IPhoto, ImagePhotoNamespace)
setup.setUpAnnotations()
More information about the Zope-CVS
mailing list