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: Ic5415281331406e865c4ab86a100b64b91d509c3
Closes-Bug: #1666560
This commit is contained in:
Luong Anh Tuan 2017-03-09 22:22:41 +07:00 committed by Tuan Luong-Anh
parent 2e0fda195a
commit 9a4c7400a9
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ commands = rm -rf doc/build
python setup.py build_sphinx
[testenv:debug]
commands = oslo_debug_helper {posargs}
commands = oslo_debug_helper -t karbor/tests/unit {posargs}
[testenv:api-ref]
# This environment is called from CI scripts to test and publish