[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - test_configurationmanager.py:1.7

Guido van Rossum guido@python.org
Mon, 28 Apr 2003 14:40:05 -0400


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

Modified Files:
	test_configurationmanager.py 
Log Message:
Fix the test.  Sorry!


=== Zope3/src/zope/app/services/tests/test_configurationmanager.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/services/tests/test_configurationmanager.py:1.6	Sun Mar 23 17:03:28 2003
+++ Zope3/src/zope/app/services/tests/test_configurationmanager.py	Mon Apr 28 14:40:04 2003
@@ -349,9 +349,9 @@
         sm = placefulsetup.createServiceManager(self.rootFolder)
         default = traverse(sm, 'default')
         self.assertEqual(default.getConfigurationManager(),
-                         default['ConfigurationManager'])
+                         default['RegistrationManager'])
         default.setObject('xxx', ConfigurationManager())
-        del default['ConfigurationManager']
+        del default['RegistrationManager']
         self.assertEqual(default.getConfigurationManager(),
                          default['xxx'])
 
@@ -368,7 +368,7 @@
         self.assertRaises(Exception,
                           default.__delitem__, 'configuration')
         default.setObject('xxx', ConfigurationManager())
-        del default['ConfigurationManager']
+        del default['RegistrationManager']