From bcb717f9132156ee6006e720cee690d094960083 Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Tue, 24 Feb 2015 21:22:16 +0300 Subject: [PATCH] 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 --- tox.ini | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tox.ini b/tox.ini index a1d67bf8..751b7a40 100644 --- a/tox.ini +++ b/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 = _