diff options
author | Alex Morega <alex@grep.ro> | 2013-07-06 12:16:33 +0200 |
---|---|---|
committer | Alex Morega <alex@grep.ro> | 2013-07-06 12:16:33 +0200 |
commit | 6d275a1c8d40dd5de597f10f820c2032add0bdf4 (patch) | |
tree | e8847e4cde58772bbd122cbce348d85121f3db7f /tests/__init__.py | |
parent | fe06771d8a0b9119c88bda0c1fcc58d03acc70ef (diff) | |
download | babel-6d275a1c8d40dd5de597f10f820c2032add0bdf4.tar.gz |
move unit tests outside babel package
Diffstat (limited to 'tests/__init__.py')
-rw-r--r-- | tests/__init__.py | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..29e38a1 --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2007-2011 Edgewall Software +# All rights reserved. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at http://babel.edgewall.org/wiki/License. +# +# This software consists of voluntary contributions made by many +# individuals. For the exact contribution history, see the revision +# history and logs, available at http://babel.edgewall.org/log/. + +import unittest + +def suite(): + from babel.tests import (test_core, test_dates, test_localedata, + test_numbers, test_plural, test_support, + test_util) + from babel.messages import tests as test_messages + suite = unittest.TestSuite() + suite.addTest(test_core.suite()) + suite.addTest(test_dates.suite()) + suite.addTest(test_localedata.suite()) + suite.addTest(test_messages.suite()) + suite.addTest(test_numbers.suite()) + suite.addTest(test_plural.suite()) + suite.addTest(test_support.suite()) + suite.addTest(test_util.suite()) + return suite + +if __name__ == '__main__': + unittest.main(defaultTest='suite') |