Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 17, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion gluon/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from test_template import *
from test_utils import *
from test_contribs import *
from test_markmin import *
from test_web import *

import sys
Expand Down
22 changes: 0 additions & 22 deletions gluon/tests/test_markmin.py

This file was deleted.

9 changes: 8 additions & 1 deletion gluon/tests/test_old_doctests.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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__':
Expand Down