[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container/ftests -
test_contents.py:1.3.26.1
Jim Fulton
jim at zope.com
Fri Sep 12 15:16:09 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/container/ftests
In directory cvs.zope.org:/tmp/cvs-serv13470/src/zope/app/browser/container/ftests
Modified Files:
Tag: parentgeddon-branch
test_contents.py
Log Message:
Can't have the tests passing, can we?
=== Zope3/src/zope/app/browser/container/ftests/test_contents.py 1.3 => 1.3.26.1 ===
--- Zope3/src/zope/app/browser/container/ftests/test_contents.py:1.3 Sat Jun 21 17:21:59 2003
+++ Zope3/src/zope/app/browser/container/ftests/test_contents.py Fri Sep 12 15:15:07 2003
@@ -53,7 +53,7 @@
def test_inplace_rename_multiple(self):
root = self.getRootFolder()
- root.setObject('foo', File())
+ root['foo'] = File()
self.assert_('foo' in root)
get_transaction().commit()
@@ -101,7 +101,7 @@
def test_inplace_rename_single(self):
root = self.getRootFolder()
- root.setObject('foo', File())
+ root['foo'] = File()
self.assert_('foo' in root)
get_transaction().commit()
@@ -129,7 +129,7 @@
def test_inplace_change_title(self):
root = self.getRootFolder()
- root.setObject('foo', File())
+ root['foo'] = File()
get_transaction().commit()
self.assert_('foo' in root)
dc = zapi.getAdapter(root['foo'], IZopeDublinCore)
More information about the Zope3-Checkins
mailing list