Fix upper-constraints link in tox file

In some environments, if the upper-constraints file is not joined to the
"-c" option in tox, an error is raised when executing tox.

Change-Id: I715fe6dd91d3b860212b2368fdb2b9f610926908
Closes-Bug: #1793562
This commit is contained in:
Rodolfo Alonso Hernandez 2018-09-20 17:27:22 +01:00 committed by Rodolfo Alonso Hernandez
parent bb1e30ce4f
commit 3eded6ba37
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
CONSTRAINTS_OPT=-c {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
CONSTRAINTS_OPT=-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
deps =
{env:CONSTRAINTS_OPT}
-r{toxinidir}/requirements.txt