[Zope3-checkins]
SVN: Zope3/branches/srichter-blow-services/src/zope/app/testing/setup.py
Fix setup function to work with new code.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Jan 7 09:03:24 EST 2005
Log message for revision 28758:
Fix setup function to work with new code.
Changed:
U Zope3/branches/srichter-blow-services/src/zope/app/testing/setup.py
-=-
Modified: Zope3/branches/srichter-blow-services/src/zope/app/testing/setup.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/testing/setup.py 2005-01-07 00:12:01 UTC (rev 28757)
+++ Zope3/branches/srichter-blow-services/src/zope/app/testing/setup.py 2005-01-07 14:03:24 UTC (rev 28758)
@@ -161,6 +161,6 @@
default = zapi.traverse(sitemanager, 'default')
default[folder_name] = utility
registration = UtilityRegistration(name, iface, default[folder_name])
- key = default.getRegistrationManager().addRegistration(registration)
- zapi.traverse(default.getRegistrationManager(), key).status = ActiveStatus
+ key = default.registrationManager.addRegistration(registration)
+ zapi.traverse(default.registrationManager, key).status = ActiveStatus
return default[folder_name]
More information about the Zope3-Checkins
mailing list