Tests configured to run whichever version of python is selected by the user.

This commit is contained in:
Colm O'Connor 2015-09-23 11:41:27 +08:00
parent 18e6c82b79
commit 9d2635188d

View File

@ -18,7 +18,12 @@ class ExecutionEngine(hitchtest.ExecutionEngine):
def set_up(self):
"""Ensure virtualenv present, then run all services."""
{% if cookiecutter.use_python2 == 'n' -%}
python_package = hitchpython.PythonPackage("2.7.10")
{% else %}
python_package = hitchpython.PythonPackage("3.5.0")
{%- endif %}
python_package.build()
python_package.verify()