| Line | |
|---|
| 1 | # -*- coding: utf-8 -*- |
|---|
| 2 | # |
|---|
| 3 | # Copyright (C) 2006 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 unittest |
|---|
| 15 | |
|---|
| 16 | def suite(): |
|---|
| 17 | import genshi |
|---|
| 18 | from genshi.tests import builder, core, input, output, path, util |
|---|
| 19 | from genshi.filters import tests as filters |
|---|
| 20 | from genshi.template import tests as template |
|---|
| 21 | |
|---|
| 22 | suite = unittest.TestSuite() |
|---|
| 23 | suite.addTest(builder.suite()) |
|---|
| 24 | suite.addTest(core.suite()) |
|---|
| 25 | suite.addTest(filters.suite()) |
|---|
| 26 | suite.addTest(input.suite()) |
|---|
| 27 | suite.addTest(output.suite()) |
|---|
| 28 | suite.addTest(path.suite()) |
|---|
| 29 | suite.addTest(template.suite()) |
|---|
| 30 | suite.addTest(util.suite()) |
|---|
| 31 | return suite |
|---|
| 32 | |
|---|
| 33 | if __name__ == '__main__': |
|---|
| 34 | unittest.main(defaultTest='suite') |
|---|
Note: See
TracBrowser
for help on using the repository browser.