[Zope3-checkins] CVS: Zope3/src/zope/app/dav/tests - test_mkcol.py:1.3.6.1 test_propfind.py:1.8.22.1

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


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

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

=== Zope3/src/zope/app/dav/tests/test_mkcol.py 1.3 => 1.3.6.1 ===
--- Zope3/src/zope/app/dav/tests/test_mkcol.py:1.3	Sun Aug 17 02:06:29 2003
+++ Zope3/src/zope/app/dav/tests/test_mkcol.py	Fri Sep 12 15:15:24 2003
@@ -50,7 +50,7 @@
         request = _createRequest('')
         container = traverse(root, 'folder1')
         file = File('bla', 'text/plain', 'bla')
-        container.setObject('bla', file)
+        container['bla'] = file
         file = traverse(container, 'bla')
         nr = NullResource(file, 'mkcol_test')
         mkcol.NullResource(nr, request).MKCOL()


=== Zope3/src/zope/app/dav/tests/test_propfind.py 1.8 => 1.8.22.1 ===
--- Zope3/src/zope/app/dav/tests/test_propfind.py:1.8	Mon Jun 23 13:17:03 2003
+++ Zope3/src/zope/app/dav/tests/test_propfind.py	Fri Sep 12 15:15:24 2003
@@ -119,9 +119,9 @@
         self.content = "some content\n for testing"
         file = File('spam', 'text/plain', self.content)
         folder = Folder('bla')
-        root.setObject('file', file)
-        root.setObject('zpt', zpt)
-        root.setObject('folder', folder)
+        root['file'] = file
+        root['zpt'] = zpt
+        root['folder'] = folder
         self.zpt = traverse(root, 'zpt')
         self.file = traverse(root, 'file')
         provideView = getService(None, Views).provideView




More information about the Zope3-Checkins mailing list