1. offline
  2. markdown-hg

Commits

Waylan Limberg  committed 00ba1e8

And more cleanup. Removed old suite from api tests.

  • Participants
  • Parent commits 4bb8ab7
  • Branches default

Comments (0)

Files changed (1)

File markdown/tests/test_apis.py

View file
                     [('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())