[Zope3-checkins] CVS: Zope3/src/zope/app/traversing/ftests - test_vhosting.py:1.8.2.3

Jim Fulton jim at zope.com
Fri Sep 12 15:16:08 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/traversing/ftests
In directory cvs.zope.org:/tmp/cvs-serv13470/src/zope/app/traversing/ftests

Modified Files:
      Tag: parentgeddon-branch
	test_vhosting.py 
Log Message:
Can't have the tests passing, can we?

=== Zope3/src/zope/app/traversing/ftests/test_vhosting.py 1.8.2.2 => 1.8.2.3 ===
--- Zope3/src/zope/app/traversing/ftests/test_vhosting.py:1.8.2.2	Tue Sep  9 17:45:09 2003
+++ Zope3/src/zope/app/traversing/ftests/test_vhosting.py	Fri Sep 12 15:15:37 2003
@@ -147,13 +147,13 @@
             try:
                 folder = folder[id]
             except KeyError:
-                folder.setObject(id, Folder())
+                folder[id] = Folder()
                 folder = folder[id]
         return folder, path[-1]
 
     def createObject(self, path, obj):
         folder, id = self.createFolders(path)
-        folder.setObject(id, obj)
+        folder[id] = obj
         get_transaction().commit()
 
     def addPage(self, path, content):




More information about the Zope3-Checkins mailing list