Mercurial > genshi > genshi-test
comparison markup/tests/__init__.py @ 1:821114ec4f69
Initial import.
author | cmlenz |
---|---|
date | Sat, 03 Jun 2006 07:16:01 +0000 |
parents | |
children | b8456279c444 |
comparison
equal
deleted
inserted
replaced
0:20f3417d4171 | 1:821114ec4f69 |
---|---|
1 # -*- coding: utf-8 -*- | |
2 # | |
3 # Copyright (C) 2006 Christopher Lenz | |
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://trac.edgewall.com/license.html. | |
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://projects.edgewall.com/trac/. | |
13 | |
14 import doctest | |
15 import unittest | |
16 | |
17 def suite(): | |
18 import markup | |
19 from markup.tests import builder, core, eval, input, output, path, template | |
20 suite = unittest.TestSuite() | |
21 suite.addTest(doctest.DocTestSuite(markup)) | |
22 suite.addTest(builder.suite()) | |
23 suite.addTest(core.suite()) | |
24 suite.addTest(eval.suite()) | |
25 suite.addTest(input.suite()) | |
26 suite.addTest(output.suite()) | |
27 suite.addTest(path.suite()) | |
28 suite.addTest(template.suite()) | |
29 return suite | |
30 | |
31 if __name__ == '__main__': | |
32 unittest.main(defaultTest='suite') |