Mercurial > genshi > genshi-test
view genshi/tests/__init__.py @ 835:155c499496fe
Added XPath unit test for #271 (was already incorrectly committed in [1043], oops)
author | cmlenz |
---|---|
date | Tue, 17 Mar 2009 14:36:23 +0000 |
parents | 90f5908cd10a |
children | 93e0f2c89576 |
line wrap: on
line source
# -*- coding: utf-8 -*- # # Copyright (C) 2006 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 unittest def suite(): import genshi from genshi.tests import builder, core, input, output, path, util from genshi.filters import tests as filters from genshi.template import tests as template suite = unittest.TestSuite() suite.addTest(builder.suite()) suite.addTest(core.suite()) suite.addTest(filters.suite()) suite.addTest(input.suite()) suite.addTest(output.suite()) suite.addTest(path.suite()) suite.addTest(template.suite()) suite.addTest(util.suite()) return suite if __name__ == '__main__': unittest.main(defaultTest='suite')