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:
ting.wang
2016-01-12 11:16:39 +08:00
parent 62fb2583f2
commit 39c3fc41a0

11
tox.ini
View File

@@ -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