[Zope-Checkins]
SVN: Products.Five/branches/philikon-local-components/tests/test_i18n.py
fix a test and reduce testing dependencies
Philipp von Weitershausen
philikon at philikon.de
Wed Apr 19 13:42:51 EDT 2006
Log message for revision 67157:
fix a test and reduce testing dependencies
Changed:
U Products.Five/branches/philikon-local-components/tests/test_i18n.py
-=-
Modified: Products.Five/branches/philikon-local-components/tests/test_i18n.py
===================================================================
--- Products.Five/branches/philikon-local-components/tests/test_i18n.py 2006-04-19 17:34:21 UTC (rev 67156)
+++ Products.Five/branches/philikon-local-components/tests/test_i18n.py 2006-04-19 17:42:50 UTC (rev 67157)
@@ -23,14 +23,14 @@
"""
Test the i18n directive
- >>> from zope.app.testing.placelesssetup import setUp, tearDown
+ >>> from zope.component.testing import setUp, tearDown
>>> setUp()
First, we need to register the ZCML directive:
- >>> import zope.app.i18n
+ >>> import zope.i18n
>>> from Products.Five import zcml
- >>> zcml.load_config('meta.zcml', zope.app.i18n)
+ >>> zcml.load_config('meta.zcml', zope.i18n)
Let's register the gettext locales using the ZCML directive:
More information about the Zope-Checkins
mailing list