This commit is contained in:
mdipierro
2012-08-31 16:28:40 -05:00
parent 41caa71ab0
commit e4b6fba5ca
2 changed files with 23 additions and 1 deletions

View File

@@ -1 +1 @@
Version 2.0.5 (2012-08-31 16:15:55) stable
Version 2.0.5 (2012-08-31 16:28:37) stable

View File

@@ -0,0 +1,22 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Unit tests for running web2py
"""
import sys
import os
if os.path.isdir('gluon'):
sys.path.append(os.path.realpath('gluon'))
else:
sys.path.append(os.path.realpath('../'))
import unittest
from gluon.contrib.markmin.markmin2html import run_doctests
class TestMarkmin(unittest.TestCase):
def testMarkmin(self):
run_doctests()
if __name__ == '__main__':
unittest.main()