[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container/ftests - test_contents.py:1.5.12.1

Philipp von Weitershausen philikon at philikon.de
Sun Feb 8 09:25:26 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/browser/container/ftests
In directory cvs.zope.org:/tmp/cvs-serv15298/ftests

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


=== Zope3/src/zope/app/browser/container/ftests/test_contents.py 1.5 => 1.5.12.1 ===
--- Zope3/src/zope/app/browser/container/ftests/test_contents.py:1.5	Thu Oct  2 12:23:19 2003
+++ Zope3/src/zope/app/browser/container/ftests/test_contents.py	Sun Feb  8 09:25:26 2004
@@ -18,11 +18,16 @@
 
 import unittest
 
-from zope.testing.functional import BrowserTestCase
-from zope.app.content.file import File
 from transaction import get_transaction
+from zope.testing.functional import BrowserTestCase
+from zope.interface import implements
+
 from zope.app import zapi
+from zope.app.interfaces.annotation import IAttributeAnnotatable
 from zope.app.interfaces.dublincore import IZopeDublinCore
+
+class File:
+    implements(IAttributeAnnotatable)
 
 class Test(BrowserTestCase):
 




More information about the Zope3-Checkins mailing list