Add debug environment to tox
the debug environment is based on oslo_debug_helper and enables devs to use pdb for debugging the client. [1] [1] http://docs.openstack.org/developer/oslotest/features.html Change-Id: I4b15a4abd8b3391f1ec87f55194757e798b18ba8
This commit is contained in:
parent
1e3dd43bae
commit
2d8caf8b32
6
tox.ini
6
tox.ini
|
@ -28,6 +28,12 @@ commands =
|
||||||
coverage combine
|
coverage combine
|
||||||
coverage report -m
|
coverage report -m
|
||||||
|
|
||||||
|
[testenv:debug]
|
||||||
|
deps =
|
||||||
|
oslotest
|
||||||
|
{[testenv]deps}
|
||||||
|
commands = oslo_debug_helper -t tripleoclient/tests {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
commands = python setup.py build_sphinx
|
commands = python setup.py build_sphinx
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue