Mercurial > babel > old > babel-test
annotate babel/messages/tests/__init__.py @ 530:85e1beadacb0
Update the copyright line.
author | jruigrok |
---|---|
date | Sat, 05 Mar 2011 15:22:28 +0000 |
parents | 6129d2e770bc |
children |
rev | line source |
---|---|
1 | 1 # -*- coding: utf-8 -*- |
2 # | |
530 | 3 # Copyright (C) 2007-2011 Edgewall Software |
1 | 4 # All rights reserved. |
5 # | |
6 # This software is licensed as described in the file COPYING, which | |
7 # you should have received as part of this distribution. The terms | |
8 # are also available at http://babel.edgewall.org/wiki/License. | |
9 # | |
10 # This software consists of voluntary contributions made by many | |
11 # individuals. For the exact contribution history, see the revision | |
12 # history and logs, available at http://babel.edgewall.org/log/. | |
13 | |
14 import unittest | |
15 | |
16 def suite(): | |
335 | 17 from babel.messages.tests import catalog, extract, frontend, mofile, \ |
370
6129d2e770bc
We no longer neglect `catalog.plurals`. Added tests for it. Fixes #120.
palgarvio
parents:
335
diff
changeset
|
18 plurals, pofile, checkers |
1 | 19 suite = unittest.TestSuite() |
56
27fba894d3ca
Add actual data structures for handling message catalogs, so that more code can be reused here between the frontends.
cmlenz
parents:
54
diff
changeset
|
20 suite.addTest(catalog.suite()) |
1 | 21 suite.addTest(extract.suite()) |
12
a2c54ef107c2
* Removed pkg_resources/setuptools requirement from various places.
cmlenz
parents:
1
diff
changeset
|
22 suite.addTest(frontend.suite()) |
160 | 23 suite.addTest(mofile.suite()) |
335 | 24 suite.addTest(plurals.suite()) |
1 | 25 suite.addTest(pofile.suite()) |
370
6129d2e770bc
We no longer neglect `catalog.plurals`. Added tests for it. Fixes #120.
palgarvio
parents:
335
diff
changeset
|
26 suite.addTest(checkers.suite()) |
1 | 27 return suite |
28 | |
29 if __name__ == '__main__': | |
30 unittest.main(defaultTest='suite') |