diff options
author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-04-24 03:24:42 -0700 |
---|---|---|
committer | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-04-24 03:24:42 -0700 |
commit | ff36b627772bc37263093f2d01fb08e699472c75 (patch) | |
tree | 202ba34f34084bdbaf37709c3ae51d3868a3bde3 /tox.ini | |
parent | 9447214e6bd58376bf12c29b1d9e929a0f827d60 (diff) | |
download | pystache-ff36b627772bc37263093f2d01fb08e699472c75.tar.gz |
Test scripts now work with and without source.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -3,7 +3,7 @@ # http://pypi.python.org/pypi/tox # [tox] -envlist = py24,py25,py26,py27,py27-yaml,py31,py32 +envlist = py24,py25,py26,py27,py27-yaml,py27-noargs,py31,py32 [testenv] # Change the working directory so that we don't import the pystache located @@ -11,13 +11,24 @@ envlist = py24,py25,py26,py27,py27-yaml,py31,py32 changedir = {envbindir} commands = - pystache-test {toxinidir} {toxinidir}/ext/spec/specs + pystache-test {toxinidir}/ext/spec/specs {toxinidir} # Check that the spec tests work with PyYAML. [testenv:py27-yaml] +basepython = + python2.7 deps = PyYAML changedir = {envbindir} commands = - pystache-test {toxinidir} {toxinidir}/ext/spec/specs + pystache-test {toxinidir}/ext/spec/specs {toxinidir} + +# Check that pystache-test works from an install with no arguments. +[testenv:py27-noargs] +basepython = + python2.7 +changedir = + {envbindir} +commands = + pystache-test |