From bfd79c07117619de0376dc0b5457f7041b2cf126 Mon Sep 17 00:00:00 2001 From: Sharat Sharma Date: Tue, 7 Mar 2017 15:39:02 +0530 Subject: [PATCH] Fix oslo_debug_helper not running Specify test directory so that tox won't complain `ImportError: Start directory is not importable`. Also fix a warning when running debug. Change-Id: I9c9401c49328d0345de817d06460af76fc5bcd6b Closes-Bug: #1666560 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 0eb5b23..33c4117 100644 --- a/tox.ini +++ b/tox.ini @@ -28,7 +28,8 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [testenv:debug] -commands = oslo_debug_helper {posargs} +whitelist_externals = oslo_debug_helper +commands = oslo_debug_helper -t mistral_lib/tests {posargs} [flake8] # E123, E125 skipped as they are invalid PEP-8.