Add start directory for oslo_debug_helper

When I used `tox -e debug <test-name>` 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
This commit is contained in:
Chaozhe.Chen 2016-02-22 23:46:36 +08:00
parent 9af96114af
commit fbc7da755a

View File

@ -35,7 +35,7 @@ commands =
python setup.py build_sphinx python setup.py build_sphinx
[testenv:debug] [testenv:debug]
commands = oslo_debug_helper {posargs} commands = oslo_debug_helper -t watcher/tests {posargs}
[testenv:config] [testenv:config]
sitepackages = False sitepackages = False