summaryrefslogtreecommitdiff
path: root/tests/runtests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runtests.py')
-rw-r--r--tests/runtests.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/runtests.py b/tests/runtests.py
new file mode 100644
index 0000000..54266c0
--- /dev/null
+++ b/tests/runtests.py
@@ -0,0 +1,8 @@
+import sys, os
+sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
+import doctest
+
+if __name__ == '__main__':
+ doctest.testfile('test_template.txt')
+ doctest.testfile('../docs/index.txt')
+