[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container/ftests -
test_contents.py:1.5.12.2
Philipp von Weitershausen
philikon at philikon.de
Wed Feb 11 12:04:33 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/browser/container/ftests
In directory cvs.zope.org:/tmp/cvs-serv30286/app/browser/container/ftests
Modified Files:
Tag: philikon-movecontent-branch
test_contents.py
Log Message:
Make File persistent so annotations (in this case dublin core properties)
last over transactions.
=== Zope3/src/zope/app/browser/container/ftests/test_contents.py 1.5.12.1 => 1.5.12.2 ===
--- Zope3/src/zope/app/browser/container/ftests/test_contents.py:1.5.12.1 Sun Feb 8 09:25:26 2004
+++ Zope3/src/zope/app/browser/container/ftests/test_contents.py Wed Feb 11 12:04:32 2004
@@ -18,6 +18,7 @@
import unittest
+from persistence import Persistent
from transaction import get_transaction
from zope.testing.functional import BrowserTestCase
from zope.interface import implements
@@ -26,7 +27,7 @@
from zope.app.interfaces.annotation import IAttributeAnnotatable
from zope.app.interfaces.dublincore import IZopeDublinCore
-class File:
+class File(Persistent):
implements(IAttributeAnnotatable)
class Test(BrowserTestCase):
More information about the Zope3-Checkins
mailing list