[Zope3-checkins] CVS: zopeproducts/photo/ftests - test_photo.py:1.2
Bjorn Tillenius
bjoti777 at student.liu.se
Sun Sep 21 18:18:18 EDT 2003
Update of /cvs-repository/zopeproducts/photo/ftests
In directory cvs.zope.org:/tmp/cvs-serv26937/ftests
Modified Files:
test_photo.py
Log Message:
Updated code to work after ParentGeddon and ReplaceSetObjectWithSetitem.
=== zopeproducts/photo/ftests/test_photo.py 1.1 => 1.2 ===
--- zopeproducts/photo/ftests/test_photo.py:1.1 Fri Aug 15 08:10:51 2003
+++ zopeproducts/photo/ftests/test_photo.py Sun Sep 21 18:17:47 2003
@@ -30,7 +30,7 @@
def setUp(self):
FunctionalTestCase.setUp(self)
rootFolder = self.getRootFolder()
- rootFolder.setObject('photo', Photo())
+ rootFolder['photo'] = Photo()
get_transaction().commit()
More information about the Zope3-Checkins
mailing list