Mercurial > genshi > genshi-test
diff markup/tests/core.py @ 18:4cbebb15a834
Actually make use of the `markup.core.Namespace` class, and add a couple of doctests.
author | cmlenz |
---|---|
date | Mon, 19 Jun 2006 15:47:28 +0000 |
parents | 821114ec4f69 |
children | eca77129518a |
line wrap: on
line diff
--- a/markup/tests/core.py +++ b/markup/tests/core.py @@ -15,7 +15,7 @@ from HTMLParser import HTMLParseError import unittest -from markup.core import Markup, escape, unescape +from markup.core import * class MarkupTestCase(unittest.TestCase): @@ -183,6 +183,7 @@ def suite(): suite = unittest.TestSuite() suite.addTest(unittest.makeSuite(MarkupTestCase, 'test')) + suite.addTest(doctest.DocTestSuite(Markup.__module__)) return suite if __name__ == '__main__':