[Zope-Checkins] SVN: Zope/trunk/src/Products/Five/tests/test_security.py Avoid warning message for missing i18n_domain

Hanno Schlichting plone at hannosch.info
Sun Apr 19 14:28:48 EDT 2009


Log message for revision 99289:
  Avoid warning message for missing i18n_domain

Changed:
  U   Zope/trunk/src/Products/Five/tests/test_security.py

-=-
Modified: Zope/trunk/src/Products/Five/tests/test_security.py
===================================================================
--- Zope/trunk/src/Products/Five/tests/test_security.py	2009-04-19 18:20:36 UTC (rev 99288)
+++ Zope/trunk/src/Products/Five/tests/test_security.py	2009-04-19 18:28:48 UTC (rev 99289)
@@ -392,7 +392,8 @@
     We can now register a permission in ZCML:
 
       >>> configure_zcml = '''
-      ... <configure xmlns="http://namespaces.zope.org/zope">
+      ... <configure xmlns="http://namespaces.zope.org/zope"
+      ...            i18n_domain="fivetest">
       ...
       ...   <permission
       ...       id="Products.Five.tests.DummyPermission"
@@ -420,7 +421,8 @@
       >>> self.app.manage_permission('Five: Other dummy', roles=['Anonymous'])
 
       >>> configure_zcml = '''
-      ... <configure xmlns="http://namespaces.zope.org/zope">
+      ... <configure xmlns="http://namespaces.zope.org/zope"
+      ...            i18n_domain="fivetest">
       ...
       ...   <permission
       ...       id="Products.Five.tests.OtherDummy"



More information about the Zope-Checkins mailing list