Constraints are ready to be used for tox.ini

Per email[1] from Andreas, we don't need to hack at install_command
any longer.

[1] http://openstack.markmail.org/thread/a4l7tokbotwqvuoh

Change-Id: If6e351a0ca3c60cce807ef4213da16ae7840ccfe
This commit is contained in:
pawnesh.kumar 2016-10-10 20:57:25 +05:30
parent d7ae244d70
commit 9ed7577909

View File

@ -6,7 +6,7 @@ skipsdist = True
[testenv] [testenv]
basepython = python2.7 basepython = python2.7
usedevelop = True usedevelop = True
install_command = pip install -U {opts} {packages} install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
setenv = VIRTUAL_ENV={envdir} setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_COVERAGE=1 NOSE_WITH_COVERAGE=1
NOSE_COVER_BRANCHES=1 NOSE_COVER_BRANCHES=1