view genshi/template/tests/__init__.py @ 446:90f5908cd10a

Add basic I18n/L10n functionality, based on GenshiRecipes/Localization.
author cmlenz
date Fri, 13 Apr 2007 11:02:36 +0000
parents 49a3bae5a8bb
children 3a4f2fd6f5e2 93e0f2c89576
line wrap: on
line source
# -*- coding: utf-8 -*-
#
# Copyright (C) 2006-2007 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://genshi.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://genshi.edgewall.org/log/.

import doctest
import unittest

def suite():
    from genshi.template.tests import base, directives, eval, interpolation, \
                                      loader, markup, plugin, text
    suite = unittest.TestSuite()
    suite.addTest(base.suite())
    suite.addTest(directives.suite())
    suite.addTest(eval.suite())
    suite.addTest(interpolation.suite())
    suite.addTest(loader.suite())
    suite.addTest(markup.suite())
    suite.addTest(plugin.suite())
    suite.addTest(text.suite())
    return suite

if __name__ == '__main__':
    unittest.main(defaultTest='suite')
Copyright (C) 2012-2017 Edgewall Software