Add Constraints support

To be co-installable with other OpenStack projects and have consistent
testing it's a good idea (tm) to use constraints when creating tox
environments.

Change-Id: I71b8abd0e7caaca2e0403ef2bfa1cfa15d434448
This commit is contained in:
Tony Breeds 2016-12-21 11:28:06 +11:00
parent eb44e6622c
commit 515a84fcc7

View File

@ -5,7 +5,7 @@ skipsdist = True
[testenv] [testenv]
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 = setenv =
VIRTUAL_ENV={envdir} VIRTUAL_ENV={envdir}
DISCOVER_DIRECTORY=kingbird/tests/unit DISCOVER_DIRECTORY=kingbird/tests/unit