[Zope3-checkins] CVS: Zope3/src/zope/app/container/tests - test_objectcopier.py:1.11.10.1 test_objectmover.py:1.8.10.1

Philipp von Weitershausen philikon at philikon.de
Sun Feb 8 09:32:13 EST 2004


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

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


=== Zope3/src/zope/app/container/tests/test_objectcopier.py 1.11 => 1.11.10.1 ===
--- Zope3/src/zope/app/container/tests/test_objectcopier.py:1.11	Fri Nov 21 12:12:00 2003
+++ Zope3/src/zope/app/container/tests/test_objectcopier.py	Sun Feb  8 09:32:12 2004
@@ -25,8 +25,10 @@
 from zope.app.interfaces.copypastemove import IObjectCopier
 from zope.app.copypastemove import ObjectCopier
 from zope.app.interfaces.container import IContainer
-from zope.app.content.file import File
 from zope.app.container.sample import SampleContainer
+
+class File:
+    pass
 
 class ObjectCopierTest(PlacefulSetup, TestCase):
 


=== Zope3/src/zope/app/container/tests/test_objectmover.py 1.8 => 1.8.10.1 ===
--- Zope3/src/zope/app/container/tests/test_objectmover.py:1.8	Fri Nov 21 12:12:00 2003
+++ Zope3/src/zope/app/container/tests/test_objectmover.py	Sun Feb  8 09:32:12 2004
@@ -18,14 +18,17 @@
 """
 
 from unittest import TestCase, TestSuite, main, makeSuite
+from zope.component import getAdapter
+
 from zope.app.traversing import traverse
 from zope.app.services.tests.placefulsetup import PlacefulSetup
-from zope.component import getAdapter
 from zope.app.tests import ztapi
 from zope.app.interfaces.copypastemove import IObjectMover
-from zope.app.interfaces.content.folder import IFolder
+from zope.app.interfaces.folder import IFolder
 from zope.app.copypastemove import ObjectMover
-from zope.app.content.file import File
+
+class File:
+    pass
 
 class ObjectMoverTest(PlacefulSetup, TestCase):
 




More information about the Zope3-Checkins mailing list