Add oslo_debug_helper to tox.ini
oslo_debug_helper is used to assist in debugging of python code, i.e. by adding breakpoints via pdb. To enable debugging, run tox with the debug environment: tox -e debug <test_path> Reference link: http://docs.openstack.org/developer/oslotest/features.html#debugging-with-oslo-debug-helper Change-Id: Iae0bc883e41dfa63a8b53bcfe037cc278a3c40ef
This commit is contained in:
parent
355c3bbd9e
commit
6726c253b3
5
tox.ini
5
tox.ini
|
@ -45,4 +45,7 @@ import_exceptions = oslo_service._i18n
|
|||
# this also means that pip-missing-reqs must be installed separately, outside
|
||||
# of the requirements.txt files
|
||||
deps = pip_missing_reqs
|
||||
commands = pip-missing-reqs -d --ignore-module=oslo_service* --ignore-module=pkg_resources --ignore-file=oslo_service/tests/* oslo_service
|
||||
commands = pip-missing-reqs -d --ignore-module=oslo_service* --ignore-module=pkg_resources --ignore-file=oslo_service/tests/* oslo_service
|
||||
|
||||
[testenv:debug]
|
||||
commands = oslo_debug_helper -t oslo_service/tests {posargs}
|
Loading…
Reference in New Issue