Indicating the location tests directory in oslo_debug_helper

According to [1], we can passing a "-t" argument to
oslo_debug_helper to indicate the directory where tests
are located. This will solves ImportError exception.

[1] https://docs.openstack.org/developer/oslotest/features.html

Change-Id: I4c9bb211efddbad4f3a8e63c3779f3d62112cd32
Closes-Bug: #1666560
This commit is contained in:
Luong Anh Tuan 2017-03-09 23:59:16 +07:00
parent 4909335ae1
commit 2963ea3ba2
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
commands = python setup.py build_sphinx
[testenv:debug]
commands = oslo_debug_helper {posargs}
commands = oslo_debug_helper -t sahara_dashboard/test {posargs}
[flake8]
show-source = True