From fbc7da755a8f9cfad820c5176aa664197d7e4fbb Mon Sep 17 00:00:00 2001 From: "Chaozhe.Chen" Date: Mon, 22 Feb 2016 23:46:36 +0800 Subject: [PATCH] Add start directory for oslo_debug_helper When I used `tox -e debug ` to test a case, the case did not run properly and there is an error like this: ImportError: Start directory is not importable: './python-watcher/tests' If we use '-t wartcher/tests' to point out the test path, the case will run properly under debug. So we'd better add this start directory for oslo_debug_helper. Change-Id: I04d9937f72a95f8f045129af08df0cd0d0870d39 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 645e24185..d3c8e753e 100644 --- a/tox.ini +++ b/tox.ini @@ -35,7 +35,7 @@ commands = python setup.py build_sphinx [testenv:debug] -commands = oslo_debug_helper {posargs} +commands = oslo_debug_helper -t watcher/tests {posargs} [testenv:config] sitepackages = False