Make test debug working

Now running `tox -e debug <test_name>` can not working,
this commit fix this.

Change-Id: I4e9fc63550c33a438d60b3b84067fb113fb67280
This commit is contained in:
zhurong 2017-01-17 11:28:51 +08:00
parent 818bf1a548
commit 46dde10a13
1 changed files with 4 additions and 1 deletions

View File

@ -6,6 +6,7 @@ skipsdist = True
[testenv] [testenv]
usedevelop = True usedevelop = True
whitelist_externals = bash whitelist_externals = bash
find
install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
setenv = setenv =
VIRTUAL_ENV={envdir} VIRTUAL_ENV={envdir}
@ -33,7 +34,9 @@ commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:debug] [testenv:debug]
commands = oslo_debug_helper {posargs} commands =
find . -type f -name "*.pyc" -delete
oslo_debug_helper -t muranopkgcheck/tests {posargs}
[flake8] [flake8]
# E123, E125 skipped as they are invalid PEP-8. # E123, E125 skipped as they are invalid PEP-8.