[Zope3-checkins] CVS: Zope3/src/zope/app/container/tests -
test_objectcopier.py:1.12 test_objectmover.py:1.9
Philipp von Weitershausen
philikon at philikon.de
Tue Feb 24 11:51:55 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/container/tests
In directory cvs.zope.org:/tmp/cvs-serv27938/src/zope/app/container/tests
Modified Files:
test_objectcopier.py test_objectmover.py
Log Message:
Don't import File anymore. We do not want to rely too much on
packages. Since we only need a marker, really, just use a stub class.
=== Zope3/src/zope/app/container/tests/test_objectcopier.py 1.11 => 1.12 ===
--- 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 Tue Feb 24 11:51:24 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.9 ===
--- 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 Tue Feb 24 11:51:24 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.folder.interfaces 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