[Zope3-checkins]
SVN: Zope3/trunk/src/zope/i18n/locales/tests/test_xmlfactory.py
make test module runnable from command line
Philipp von Weitershausen
philikon at philikon.de
Fri Jun 10 19:56:17 EDT 2005
Log message for revision 30749:
make test module runnable from command line
Changed:
U Zope3/trunk/src/zope/i18n/locales/tests/test_xmlfactory.py
-=-
Modified: Zope3/trunk/src/zope/i18n/locales/tests/test_xmlfactory.py
===================================================================
--- Zope3/trunk/src/zope/i18n/locales/tests/test_xmlfactory.py 2005-06-10 22:14:01 UTC (rev 30748)
+++ Zope3/trunk/src/zope/i18n/locales/tests/test_xmlfactory.py 2005-06-10 23:56:17 UTC (rev 30749)
@@ -16,7 +16,7 @@
$Id$
"""
import os
-from unittest import TestCase, TestSuite, makeSuite
+from unittest import TestCase, TestSuite, makeSuite, main
from zope.i18n.locales.xmlfactory import LocaleFactory
from zope.i18n.format import parseDateTimePattern, parseNumberPattern
@@ -63,3 +63,6 @@
case = LocaleXMLFileTestCase(path)
suite.addTest(case)
return suite
+
+if __name__ == '__main__':
+ main(defaultTest='test_suite')
More information about the Zope3-Checkins
mailing list