Use tox variable for django-admin.py location.

This commit is contained in:
Jannis Leidel 2014-11-21 15:03:54 +01:00
parent 27859d14f2
commit 6b80f55198

View file

@ -1,6 +1,5 @@
[tox]
envlist = py26-django-14, py27-django-14, {py26,py27,py32,py33,py34,pypy}-django-{15,16,17,master}
whitelist_externals = which
[testenv]
basepython =
@ -23,5 +22,5 @@ deps =
django-master: https://github.com/django/django/archive/master.zip
usedevelop = true
commands =
coverage run `which django-admin.py` test --settings=tests.settings -v2
coverage run {envbindir}/django-admin.py test --settings=tests.settings -v2
coverage report