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:
parent
bc911a3acb
commit
bcb717f913
7
tox.ini
7
tox.ini
@ -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 = _
|
||||
|
Loading…
Reference in New Issue
Block a user