Use upper constraints for tests

-epy27 tests are failing with:
  run.py discover: error: no such option: --list

Adding upper constraints fixes the issue.

Change-Id: Ie19ce4962d1e14eacba6d3328d24ceae838807a5
This commit is contained in:
Harald Jensås 2020-03-28 01:33:02 +01:00
parent d6607a57c5
commit 1665c3de2c

View File

@ -12,7 +12,8 @@ setenv =
OS_STDERR_CAPTURE=1
OS_TEST_TIMEOUT=60
OS_LOG_CAPTURE=1
deps = -r{toxinidir}/test-requirements.txt
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands = stestr run {posargs}
basepython = python3