aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2009-06-05 22:59:03 -0400
committerWaylan Limberg <waylan@gmail.com>2009-06-05 22:59:03 -0400
commit68c7258b2d10c3631f0e4194f6e83e6f0313ec1d (patch)
tree8157c0be1641ae440f1269d71c8c0d6e0b99b7bd
parent583fb40a499693ce8f0ae1fca2ecececad4bcd64 (diff)
downloadmarkdown-68c7258b2d10c3631f0e4194f6e83e6f0313ec1d.tar.gz
markdown-68c7258b2d10c3631f0e4194f6e83e6f0313ec1d.tar.bz2
markdown-68c7258b2d10c3631f0e4194f6e83e6f0313ec1d.zip
And more cleanup. Removed old suite from api tests.
-rwxr-xr-xmarkdown/tests/test_apis.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/markdown/tests/test_apis.py b/markdown/tests/test_apis.py
index 59b5a2e..3aaa2f9 100755
--- a/markdown/tests/test_apis.py
+++ b/markdown/tests/test_apis.py
@@ -212,23 +212,3 @@ class TestOrderedDict(unittest.TestCase):
[('first', 'This'), ('fourth', 'self'),
('third', 'a'), ('fifth', 'test')])
-def suite():
- """ Build a test suite of the above tests and extension doctests. """
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestMarkdown))
- suite.addTest(unittest.makeSuite(TestBlockParser))
- suite.addTest(unittest.makeSuite(TestBlockParserState))
- suite.addTest(unittest.makeSuite(TestHtmlStash))
- suite.addTest(unittest.makeSuite(TestOrderedDict))
-
- for filename in os.listdir('markdown/extensions'):
- if filename.endswith('.py'):
- module = 'markdown.extensions.%s' % filename[:-3]
- try:
- suite.addTest(DocTestSuite(module))
- except: ValueError
- # No tests
- return suite
-
-if __name__ == '__main__':
- unittest.TextTestRunner(verbosity=2).run(suite())