[Checkins] SVN: five.localsitemanager/branches/1.0/ make sure we have zope.component <= 3.4.9999 (testing it)
Michael Howitz
mh at gocept.com
Tue Aug 26 12:09:29 EDT 2008
Log message for revision 90353:
make sure we have zope.component <= 3.4.9999 (testing it)
Changed:
U five.localsitemanager/branches/1.0/buildout.cfg
U five.localsitemanager/branches/1.0/src/five/localsitemanager/localsitemanager.txt
-=-
Modified: five.localsitemanager/branches/1.0/buildout.cfg
===================================================================
--- five.localsitemanager/branches/1.0/buildout.cfg 2008-08-26 16:05:55 UTC (rev 90352)
+++ five.localsitemanager/branches/1.0/buildout.cfg 2008-08-26 16:09:29 UTC (rev 90353)
@@ -6,6 +6,8 @@
[zope2]
recipe = plone.recipe.zope2install
url = http://www.zope.org/Products/Zope/2.11.1/Zope-2.11.1-final.tgz
+fake-zope-eggs = true
+skip-fake-eggs = zope.component
[test]
recipe = zc.recipe.testrunner
Modified: five.localsitemanager/branches/1.0/src/five/localsitemanager/localsitemanager.txt
===================================================================
--- five.localsitemanager/branches/1.0/src/five/localsitemanager/localsitemanager.txt 2008-08-26 16:05:55 UTC (rev 90352)
+++ five.localsitemanager/branches/1.0/src/five/localsitemanager/localsitemanager.txt 2008-08-26 16:09:29 UTC (rev 90353)
@@ -190,6 +190,9 @@
And registeredUtilities():
+ >>> list(sitemanager.registeredUtilities())
+ [UtilityRegistration(<PersistentComponents site>, ITestUtility, u'hello_world', <Utility TestUtility "test">, u''),
+ UtilityRegistration(<PersistentComponents site>, ITestUtility, u'aq_wrapped', <Utility AQTestUtility "test">, u'')]
>>> utils = [ r.component for r in sitemanager.registeredUtilities() ]
>>> len(utils)
2
@@ -339,6 +342,11 @@
And registeredUtilities():
+ >>> list(sitemanager_a.registeredUtilities())
+ [UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'with_aq_chain', si_util_cped, u''),
+ UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'aq_wrapped', <Utility AQTestUtility "test">, u''),
+ UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'hello_world', <Utility TestUtility "test">, u'')]
+
>>> utils = [r.component for r in sitemanager_a.registeredUtilities()]
>>> len(utils)
3
More information about the Checkins
mailing list