Mercurial > babel > mirror
comparison babel/catalog/tests/pofile.py @ 1:7870274479f5 trunk
Import of initial code base.
author | cmlenz |
---|---|
date | Tue, 29 May 2007 20:33:55 +0000 |
parents | |
children | e6ba3e878b10 |
comparison
equal
deleted
inserted
replaced
0:fef11c9819c7 | 1:7870274479f5 |
---|---|
1 # -*- coding: utf-8 -*- | |
2 # | |
3 # Copyright (C) 2006 Edgewall Software | |
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 doctest | |
15 import unittest | |
16 | |
17 from babel.catalog import pofile | |
18 | |
19 def suite(): | |
20 suite = unittest.TestSuite() | |
21 suite.addTest(doctest.DocTestSuite(pofile)) | |
22 return suite | |
23 | |
24 if __name__ == '__main__': | |
25 unittest.main(defaultTest='suite') |