From 24852cd0b3d7c407f358011bb65eb52004599cb9 Mon Sep 17 00:00:00 2001 From: Jeremy Liu Date: Sun, 5 Mar 2017 21:13:29 +0800 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: I7111c553bef110130abcd23f1e402d35868e3852 Closes-Bug: #1666560 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index b7a68a9..91bf576 100644 --- a/tox.ini +++ b/tox.ini @@ -32,7 +32,8 @@ commands = python setup.py testr --coverage --testr-args='{posargs}' commands = python setup.py build_sphinx [testenv:debug] -commands = oslo_debug_helper {posargs} +whitelist_externals = oslo_debug_helper +commands = oslo_debug_helper -t mistraldashboard/test {posargs} [flake8] show-source = True