mirror of
https://opendev.org/openstack/python-heatclient.git
synced 2026-01-16 23:00:35 +00:00
Add debug testenv in tox
Once we add debug testenv, we can use "tox -e debug -- --debug" to debug test cases when tox is running. Change-Id: I3b7a090042e95ac89d6829495bf42f84e11bbd21
This commit is contained in:
parent
62fb2583f2
commit
39c3fc41a0
1 changed files with 11 additions and 0 deletions
11
tox.ini
11
tox.ini
|
|
@ -18,6 +18,17 @@ deps = setuptools<3.2
|
|||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:debug]
|
||||
commands = oslo_debug_helper -t heatclient/tests {posargs}
|
||||
|
||||
[testenv:debug-py27]
|
||||
basepython = python2.7
|
||||
commands = oslo_debug_helper -t heatclient/tests {posargs}
|
||||
|
||||
[testenv:debug-py34]
|
||||
basepython = python3.4
|
||||
commands = oslo_debug_helper -t heatclient/tests {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
commands =
|
||||
flake8
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue