Add debug testenv in tox

Once we add debug testenv, we can use "tox -e debug"
to debug test cases when tox is running.

Change-Id: I09d988a8659ad671030f7e2cee07a86f2cc91583
This commit is contained in:
caoyue 2016-04-18 10:52:10 +08:00
parent d1903f53b3
commit 1341c218e6

11
tox.ini
View File

@ -38,6 +38,17 @@ commands =
[tox:jenkins]
sitepackages = True
[testenv:debug]
commands = oslo_debug_helper {posargs}
[testenv:debug-py27]
basepython = python2.7
commands = oslo_debug_helper {posargs}
[testenv:debug-py34]
basepython = python3.4
commands = oslo_debug_helper {posargs}
[testenv:pep8]
commands =
flake8