Install "ironic" in the unittest environment
This patch is adding an "extra-requirements.txt" file that points to the Ironic's git repository which will be installed in the virtual environment where the unittests will run. Change-Id: I42ccbfde8f3381b9d77f85b3f676c0b455c62851
This commit is contained in:
parent
a27e38e50c
commit
df49cb37b0
1
extra-requirements.txt
Normal file
1
extra-requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
git+git://git.openstack.org/openstack/ironic#egg=ironic
|
4
tox.ini
4
tox.ini
@ -13,7 +13,9 @@ setenv = VIRTUAL_ENV={envdir}
|
||||
LANGUAGE=en_US
|
||||
LC_ALL=en_US.UTF-8
|
||||
TESTS_DIR=./ironic_staging_drivers/tests/unit/
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
deps =
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
-r{toxinidir}/extra-requirements.txt
|
||||
commands = ostestr {posargs}
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user