Mercurial > genshi > mirror
comparison genshi/filters/tests/__init__.py @ 446:fd9c4f7a249a trunk
Add basic I18n/L10n functionality, based on GenshiRecipes/Localization.
author | cmlenz |
---|---|
date | Fri, 13 Apr 2007 11:02:36 +0000 |
parents | |
children | 5e7604c2d60d 9755836bb396 |
comparison
equal
deleted
inserted
replaced
445:ec7890aa7c0b | 446:fd9c4f7a249a |
---|---|
1 # -*- coding: utf-8 -*- | |
2 # | |
3 # Copyright (C) 2007 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://genshi.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://genshi.edgewall.org/log/. | |
13 | |
14 import doctest | |
15 import unittest | |
16 | |
17 def suite(): | |
18 from genshi.filters.tests import html, i18n | |
19 suite = unittest.TestSuite() | |
20 suite.addTest(html.suite()) | |
21 suite.addTest(i18n.suite()) | |
22 return suite | |
23 | |
24 if __name__ == '__main__': | |
25 unittest.main(defaultTest='suite') |