[Zope3-checkins] CVS: Zope3/src/zope/app/tests - test_rename.py:1.4

Philipp von Weitershausen philikon at philikon.de
Tue Feb 24 11:51:25 EST 2004


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

Modified Files:
	test_rename.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/tests/test_rename.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/tests/test_rename.py:1.3	Fri Nov 21 12:12:14 2003
+++ Zope3/src/zope/app/tests/test_rename.py	Tue Feb 24 11:51:25 2004
@@ -25,9 +25,11 @@
 from zope.app.interfaces.copypastemove import IObjectMover
 from zope.app.interfaces.container import IContainer
 from zope.app.copypastemove import ObjectMover
-from zope.app.content.file import File
 from zope.exceptions import NotFoundError, DuplicationError
 from zope.app.copypastemove import rename
+
+class File:
+    pass
 
 class RenameTest(PlacefulSetup, TestCase):
 




More information about the Zope3-Checkins mailing list