mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-04 20:20:18 +03:00
Tests configured to run whichever version of python is selected by the user.
This commit is contained in:
parent
18e6c82b79
commit
9d2635188d
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user