summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test_pystache.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/test_pystache.py b/test_pystache.py
new file mode 100644
index 0000000..0f997e5
--- /dev/null
+++ b/test_pystache.py
@@ -0,0 +1,21 @@
+#!/usr/bin/env python
+# coding: utf-8
+
+"""
+Runs project tests.
+
+This script is a substitute for running--
+
+ python -m pystache.commands.test
+
+It is useful in Python 2.4 because the -m flag does not accept subpackages
+in Python 2.4:
+
+ http://docs.python.org/using/cmdline.html#cmdoption-m
+
+"""
+
+from pystache.commands.test import main
+
+if __name__=='__main__':
+ main()