Mercurial > genshi > genshi-test
diff markup/tests/__init__.py @ 1:821114ec4f69
Initial import.
author | cmlenz |
---|---|
date | Sat, 03 Jun 2006 07:16:01 +0000 |
parents | |
children | b8456279c444 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/markup/tests/__init__.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2006 Christopher Lenz +# 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://trac.edgewall.com/license.html. +# +# This software consists of voluntary contributions made by many +# individuals. For the exact contribution history, see the revision +# history and logs, available at http://projects.edgewall.com/trac/. + +import doctest +import unittest + +def suite(): + import markup + from markup.tests import builder, core, eval, input, output, path, template + suite = unittest.TestSuite() + suite.addTest(doctest.DocTestSuite(markup)) + suite.addTest(builder.suite()) + suite.addTest(core.suite()) + suite.addTest(eval.suite()) + suite.addTest(input.suite()) + suite.addTest(output.suite()) + suite.addTest(path.suite()) + suite.addTest(template.suite()) + return suite + +if __name__ == '__main__': + unittest.main(defaultTest='suite')