From 6b80f551989d020d1ff5fa3852f449c02e8f9ff2 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Fri, 21 Nov 2014 15:03:54 +0100 Subject: [PATCH] Use tox variable for django-admin.py location. --- tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index d8526fd..4a4846b 100644 --- a/tox.ini +++ b/tox.ini @@ -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