summaryrefslogtreecommitdiff
path: root/pystache/tests/common.py
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-04-20 20:32:29 -0700
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-04-20 20:32:29 -0700
commit60a6c396b55b986f823d34e67b25adc44791e684 (patch)
treebb34619da75eedb45ef9d27f1f9f380ad1fb2424 /pystache/tests/common.py
parent67d7762848b2af4b4f09928146732c5136882a89 (diff)
downloadpystache-60a6c396b55b986f823d34e67b25adc44791e684.tar.gz
Renamed SOURCE_DIR to PACKAGE_DIR.
Diffstat (limited to 'pystache/tests/common.py')
-rw-r--r--pystache/tests/common.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/pystache/tests/common.py b/pystache/tests/common.py
index 6aa0213..47ba54d 100644
--- a/pystache/tests/common.py
+++ b/pystache/tests/common.py
@@ -17,10 +17,13 @@ _TESTS_DIR = os.path.dirname(pystache.tests.__file__)
DATA_DIR = os.path.join(_TESTS_DIR, 'data') # i.e. 'pystache/tests/data'.
EXAMPLES_DIR = os.path.dirname(examples.__file__)
-# TODO: change SOURCE_DIR to PACKAGE_DIR.
-SOURCE_DIR = os.path.dirname(pystache.__file__)
-PROJECT_DIR = os.path.join(SOURCE_DIR, '..')
+PACKAGE_DIR = os.path.dirname(pystache.__file__)
+PROJECT_DIR = os.path.join(PACKAGE_DIR, '..')
SPEC_TEST_DIR = os.path.join(PROJECT_DIR, 'ext', 'spec', 'specs')
+# TEXT_DOCTEST_PATHS: the paths to text files (i.e. non-module files)
+# containing doctests. These paths should be OS-specific and relative
+# to the project directory.
+TEXT_DOCTEST_PATHS = ['README.rst']
def html_escape(u):