Add support for oslo_debug_helper to tox.ini

More info in docs - http://docs.openstack.org/developer/oslotest/features.html#debugging-with-oslo-debug-helper

Change-Id: I3099bc09fc8c099f4f7ee708fa64c05d04a54ae7
This commit is contained in:
Sergey Lukjanov 2015-02-24 21:22:16 +03:00
parent bc911a3acb
commit bcb717f913

View File

@ -80,6 +80,13 @@ deps =
-r{toxinidir}/requirements.txt
commands = pip-missing-reqs -d --ignore-file=sahara/tests/* sahara
[testenv:debug]
# It runs tests from the specified dir (default is sahara/tests)
# in interactive mode, so, you could use pbr for tests debug.
# Example usage: tox -e debug -- -t sahara/tests/unit some.test.path
# http://docs.openstack.org/developer/oslotest/features.html#debugging-with-oslo-debug-helper
commands = oslo_debug_helper {posargs}
[flake8]
show-source = true
builtins = _