main
Last change
on this file was
42bd667,
checked in by David Fuertes <dfuertes@…>, 4 years ago
|
Historial Limpio
|
-
Property mode set to
100755
|
File size:
578 bytes
|
Line | |
---|
1 | #!/usr/bin/env python |
---|
2 | # -*- coding: utf-8 -*- |
---|
3 | |
---|
4 | """ Unit tests for old doctests in utf8.py, html.py, markmin2html.py. |
---|
5 | Don't abuse doctests, web2py > 2.4.5 will accept only unittests |
---|
6 | """ |
---|
7 | |
---|
8 | import doctest |
---|
9 | import unittest |
---|
10 | |
---|
11 | def load_tests(loader, tests, ignore): |
---|
12 | |
---|
13 | tests.addTests( |
---|
14 | doctest.DocTestSuite('gluon.html') |
---|
15 | ) |
---|
16 | tests.addTests( |
---|
17 | doctest.DocTestSuite('gluon.utf8') |
---|
18 | ) |
---|
19 | |
---|
20 | tests.addTests( |
---|
21 | doctest.DocTestSuite('gluon.contrib.markmin.markmin2html', |
---|
22 | ) |
---|
23 | ) |
---|
24 | |
---|
25 | return tests |
---|
26 | |
---|
27 | if __name__ == '__main__': |
---|
28 | unittest.main() |
---|
Note: See
TracBrowser
for help on using the repository browser.