Commit 57db9932 authored by Hanno Schlichting's avatar Hanno Schlichting

Avoid warning message for missing i18n_domain

parent 6f68c843
...@@ -392,7 +392,8 @@ def test_register_permission(): ...@@ -392,7 +392,8 @@ def test_register_permission():
We can now register a permission in ZCML: We can now register a permission in ZCML:
>>> configure_zcml = ''' >>> configure_zcml = '''
... <configure xmlns="http://namespaces.zope.org/zope"> ... <configure xmlns="http://namespaces.zope.org/zope"
... i18n_domain="fivetest">
... ...
... <permission ... <permission
... id="Products.Five.tests.DummyPermission" ... id="Products.Five.tests.DummyPermission"
...@@ -420,7 +421,8 @@ def test_register_permission(): ...@@ -420,7 +421,8 @@ def test_register_permission():
>>> self.app.manage_permission('Five: Other dummy', roles=['Anonymous']) >>> self.app.manage_permission('Five: Other dummy', roles=['Anonymous'])
>>> configure_zcml = ''' >>> configure_zcml = '''
... <configure xmlns="http://namespaces.zope.org/zope"> ... <configure xmlns="http://namespaces.zope.org/zope"
... i18n_domain="fivetest">
... ...
... <permission ... <permission
... id="Products.Five.tests.OtherDummy" ... id="Products.Five.tests.OtherDummy"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment