[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - test_view.py:1.22.2.2

Fred L. Drake, Jr. fred at zope.com
Tue Sep 9 11:05:54 EDT 2003


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

Modified Files:
      Tag: parentgeddon-branch
	test_view.py 
Log Message:
fix broken test


=== Zope3/src/zope/app/services/tests/test_view.py 1.22.2.1 => 1.22.2.2 ===
--- Zope3/src/zope/app/services/tests/test_view.py:1.22.2.1	Mon Sep  8 14:21:49 2003
+++ Zope3/src/zope/app/services/tests/test_view.py	Tue Sep  9 10:05:53 2003
@@ -162,8 +162,8 @@
         sm = self.buildFolders(site=True)
         registration_manager = traverse(sm, 'default').getRegistrationManager()
         registration = Registration()
-        registration_manager.setObject('', registration)
-        registration = traverse(registration_manager, '1')
+        name = registration_manager.setObject('', registration)
+        registration = traverse(registration_manager, name)
 
         class O:
             implements(I1)




More information about the Zope3-Checkins mailing list