summaryrefslogtreecommitdiff
path: root/tests/test_util.py
diff options
context:
space:
mode:
authorAlex Morega <alex@grep.ro>2013-07-06 12:16:33 +0200
committerAlex Morega <alex@grep.ro>2013-07-06 12:16:33 +0200
commit6d275a1c8d40dd5de597f10f820c2032add0bdf4 (patch)
treee8847e4cde58772bbd122cbce348d85121f3db7f /tests/test_util.py
parentfe06771d8a0b9119c88bda0c1fcc58d03acc70ef (diff)
downloadbabel-6d275a1c8d40dd5de597f10f820c2032add0bdf4.tar.gz
move unit tests outside babel package
Diffstat (limited to 'tests/test_util.py')
-rw-r--r--tests/test_util.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/test_util.py b/tests/test_util.py
new file mode 100644
index 0000000..7c72b86
--- /dev/null
+++ b/tests/test_util.py
@@ -0,0 +1,25 @@
+# -*- 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 doctest
+import unittest
+
+from babel import util
+
+def suite():
+ suite = unittest.TestSuite()
+ suite.addTest(doctest.DocTestSuite(util))
+ return suite
+
+if __name__ == '__main__':
+ unittest.main(defaultTest='suite')