Fix for failing gates
We were launching the tests using run_tests.sh with flag 'V' set, which makes the tests beeing run in the virtualenv. However, the tests are already beeing run in virtualenv since they are beeing run by tox. So we basically made virtualenv inside the virtualenv. Closes-bug: 1659819 Change-Id: If647e44a43e730f00b01c597cde0c2345f8b780f
This commit is contained in:
parent
c9ef100219
commit
672f4663b2
4
tox.ini
4
tox.ini
@ -21,12 +21,12 @@ whitelist_externals =
|
||||
[testenv:unit-postgresql]
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
passenv = ZUUL_PROJECT
|
||||
commands = ./run_tests.sh -V --db-type postgresql
|
||||
commands = ./run_tests.sh -N --db-type postgresql
|
||||
|
||||
[testenv:unit-mysql]
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
passenv = ZUUL_PROJECT
|
||||
commands = ./run_tests.sh -V --db-type mysql
|
||||
commands = ./run_tests.sh -N --db-type mysql
|
||||
|
||||
[testenv:pep8]
|
||||
commands = flake8 {posargs} . {toxinidir}/tools/get_action_list.py {toxinidir}/tools/sync_db.py
|
||||
|
Loading…
Reference in New Issue
Block a user