summaryrefslogtreecommitdiff
path: root/lib/zephyr_run_doctests
diff options
context:
space:
mode:
authorGravatar Mark W. Eichin <eichin@thok.org>2009-04-13 05:56:16 +0000
committerGravatar Mark W. Eichin <eichin@thok.org>2009-04-13 05:56:16 +0000
commit9be1f2ec0860bdad34774f6eed95ddfbc0ac0b41 (patch)
tree5db6c013701ed08820871c26bba4dba2a62e13ac /lib/zephyr_run_doctests
parent2de01dbd7d402298870a8698607c08cf58199fed (diff)
draft doctest version of the existing tests, to show what they look
like; might serve as a start on a "live API guide" once it is fleshed out more. Emphasizes the commentary which actually makes a lot of sense (a bunch of things went into the svn commit logs which really should have been in-line in the test cases; this approach avoids that...)
Diffstat (limited to 'lib/zephyr_run_doctests')
-rwxr-xr-xlib/zephyr_run_doctests6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/zephyr_run_doctests b/lib/zephyr_run_doctests
new file mode 100755
index 0000000..03e111b
--- /dev/null
+++ b/lib/zephyr_run_doctests
@@ -0,0 +1,6 @@
+#!/usr/bin/python
+
+import doctest
+
+print doctest.testfile("zephyr_tests.txt")
+