[Zope3-checkins] CVS: Zope3/src/zope/app/publication/tests - test_zopepublication.py:1.16.2.3

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


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

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

=== Zope3/src/zope/app/publication/tests/test_zopepublication.py 1.16.2.2 => 1.16.2.3 ===
--- Zope3/src/zope/app/publication/tests/test_zopepublication.py:1.16.2.2	Tue Sep  9 11:47:06 2003
+++ Zope3/src/zope/app/publication/tests/test_zopepublication.py	Fri Sep 12 15:15:32 2003
@@ -278,9 +278,9 @@
 
         root = self.db.open().root()
         app = root[ZopePublication.root_name]
-        app.setObject('f1', Folder())
+        app['f1'] = Folder()
         f1 = app['f1']
-        f1.setObject('f2', Folder())
+        f1['f2'] = Folder()
         f1.setSiteManager(ServiceManager(AuthService1()))
         f2 = f1['f2']
         f2.setSiteManager(ServiceManager(AuthService2()))




More information about the Zope3-Checkins mailing list