]> rtime.felk.cvut.cz Git - wvtest.git/blobdiff - python/basedir_test.py
python: oops, fix handling for tests in current directory instead of t/
[wvtest.git] / python / basedir_test.py
diff --git a/python/basedir_test.py b/python/basedir_test.py
new file mode 100644 (file)
index 0000000..932f9d2
--- /dev/null
@@ -0,0 +1,12 @@
+from wvtest import *
+
+
+@wvtest
+def basedirtest():
+    # check that wvtest works with test files in the base directory, not
+    # just in subdirs.
+    WVPASS()
+
+
+if __name__ == '__main__':
+    wvtest_main()