[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/tests - test_field_widget.py:1.14.6.1

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


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

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

=== Zope3/src/zope/app/browser/services/tests/test_field_widget.py 1.14 => 1.14.6.1 ===
--- Zope3/src/zope/app/browser/services/tests/test_field_widget.py:1.14	Wed Aug 13 17:28:23 2003
+++ Zope3/src/zope/app/browser/services/tests/test_field_widget.py	Fri Sep 12 15:15:16 2003
@@ -59,12 +59,12 @@
     def setUp(self):
         PlacefulSetup.setUp(self, site=True)
         default = traverse(self.rootFolder, '++etc++site/default')
-        default.setObject('c1', C())
-        default.setObject('c2', C())
-        default.setObject('c3', C())
-        default.setObject('d1', D())
-        default.setObject('d2', D())
-        default.setObject('d3', D())
+        default['c1'] = C()
+        default['c2'] = C()
+        default['c3'] = C()
+        default['d1'] = D()
+        default['d2'] = D()
+        default['d3'] = D()
 
         self.request = TestRequest()
         self.defaultpackage = default




More information about the Zope3-Checkins mailing list