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:
parent
e10725fe38
commit
6c6d43eb1a
1
test-upper-constraints.txt
Normal file
1
test-upper-constraints.txt
Normal file
@ -0,0 +1 @@
|
||||
git+https://git.openstack.org/openstack/python-troveclient#egg=python-troveclient
|
1
tox.ini
1
tox.ini
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user