add doctest hook for markmin. It wasn't run previously.

This commit is contained in:
niphlod
2013-04-17 23:55:11 +02:00
parent b0e3e386e7
commit 6594e7a607
3 changed files with 8 additions and 24 deletions
+8 -1
View File
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
""" Unit tests for old doctests in validators.py, utf8.py, html.py.
""" Unit tests for old doctests in validators.py, utf8.py, html.py,
markmin2html.py.
Don't abuse doctests, web2py > 2.4.5 will accept only unittests
"""
import sys
@@ -27,6 +28,12 @@ def load_tests(loader, tests, ignore):
tests.addTests(
doctest.DocTestSuite('utf8')
)
tests.addTests(
doctest.DocTestSuite('contrib.markmin.markmin2html',
)
)
return tests
if __name__ == '__main__':