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: I1403ef435d17f31668da2d906c73c80cb66d4209
This commit is contained in:
Nguyen Van Trung 2017-12-27 15:00:08 +07:00
parent 6451e50237
commit 84edb962f3
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:debug]
commands = oslo_debug_helper {posargs}
commands = oslo_debug_helper -t sushy/tests {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.