| Line | |
|---|
| 1 | # -*- coding: utf-8 -*- |
|---|
| 2 | # |
|---|
| 3 | # Copyright (C) 2006-2007 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 doctest |
|---|
| 15 | import unittest |
|---|
| 16 | |
|---|
| 17 | def suite(): |
|---|
| 18 | from genshi.template.tests import base, directives, eval, interpolation, \ |
|---|
| 19 | loader, markup, plugin, text |
|---|
| 20 | suite = unittest.TestSuite() |
|---|
| 21 | suite.addTest(base.suite()) |
|---|
| 22 | suite.addTest(directives.suite()) |
|---|
| 23 | suite.addTest(eval.suite()) |
|---|
| 24 | suite.addTest(interpolation.suite()) |
|---|
| 25 | suite.addTest(loader.suite()) |
|---|
| 26 | suite.addTest(markup.suite()) |
|---|
| 27 | suite.addTest(plugin.suite()) |
|---|
| 28 | suite.addTest(text.suite()) |
|---|
| 29 | return suite |
|---|
| 30 | |
|---|
| 31 | if __name__ == '__main__': |
|---|
| 32 | unittest.main(defaultTest='suite') |
|---|
Note: See
TracBrowser
for help on using the repository browser.