Use latests version of python-troveclient in tests

This patchset changes version of python-troveclient package version
used in tests.
So far, version from global constrain file was used [1].

In order to achive this, a local constrain file for tests requirements
has been added. This made it possible to override global constrain
versions.

[1] openstack/requirements/upper-constraints.txt

Change-Id: Ic4383f0249e5bd367461f63f66217af959aefba4
Signed-off-by: Marcin Piwowarczyk <m.piwowarczy@samsung.com>
This commit is contained in:
Marcin Piwowarczyk 2018-09-13 16:09:32 +02:00
parent e10725fe38
commit 6c6d43eb1a
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
git+https://git.openstack.org/openstack/python-troveclient#egg=python-troveclient

View File

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