summaryrefslogtreecommitdiff
path: root/test_pystache.py
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-04-21 14:13:53 -0700
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-04-21 14:13:53 -0700
commitfec4597db9d3ae6dd941e71c593e3203ebdc5580 (patch)
treed99c4ef96ce87cd9a63215b48583ead4123647a6 /test_pystache.py
parente6cddf9cc34eecb2c1cc4be1ae9b294483b14a71 (diff)
downloadpystache-fec4597db9d3ae6dd941e71c593e3203ebdc5580.tar.gz
Added test_pystache.py for Python 2.4.
Diffstat (limited to 'test_pystache.py')
-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()