[Zope-Checkins]
SVN: Products.Five/branches/philikon-local-components/tests/
get rid of some deprecated zcml directives
Philipp von Weitershausen
philikon at philikon.de
Wed Apr 19 14:15:33 EDT 2006
Log message for revision 67165:
get rid of some deprecated zcml directives
Changed:
U Products.Five/branches/philikon-local-components/tests/directives.zcml
U Products.Five/branches/philikon-local-components/tests/test_security.py
-=-
Modified: Products.Five/branches/philikon-local-components/tests/directives.zcml
===================================================================
--- Products.Five/branches/philikon-local-components/tests/directives.zcml 2006-04-19 18:11:46 UTC (rev 67164)
+++ Products.Five/branches/philikon-local-components/tests/directives.zcml 2006-04-19 18:15:32 UTC (rev 67165)
@@ -23,13 +23,6 @@
<five:traversable class="Products.Five.tests.testing.fancycontent.FancyContent" />
- <!-- Testing the vocabulary directive -->
-
- <vocabulary
- name="aVocabulary"
- factory="zope.schema.tests.test_vocabulary.SampleVocabulary"
- />
-
<!-- testing that products meta.zcml statements are picked up. -->
<include file="meta.zcml" />
Modified: Products.Five/branches/philikon-local-components/tests/test_security.py
===================================================================
--- Products.Five/branches/philikon-local-components/tests/test_security.py 2006-04-19 18:11:46 UTC (rev 67164)
+++ Products.Five/branches/philikon-local-components/tests/test_security.py 2006-04-19 18:15:32 UTC (rev 67165)
@@ -72,13 +72,13 @@
>>> configure_zcml = '''
... <configure xmlns="http://namespaces.zope.org/zope">
- ... <content class="Products.Five.tests.test_security.Dummy1">
+ ... <class class="Products.Five.tests.test_security.Dummy1">
... <allow attributes="foo" />
... <!--deny attributes="baz" /--> <!-- XXX not yet supported -->
... <require attributes="bar keg"
... permission="zope2.ViewManagementScreens"
... />
- ... </content>
+ ... </class>
... </configure>
... '''
>>> zcml.load_string(configure_zcml)
More information about the Zope-Checkins
mailing list