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: Ie96b6bed395eef8ca837a2ec9749ca90ce40501e
Closes-Bug: #1666560
This commit is contained in:
Luong Anh Tuan 2017-03-09 22:07:57 +07:00
parent 913aa9152f
commit 335ae95190
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ commands = bandit -r designate -n5 -x tests -t \
B608,B506,B312,B310,B411,B109,B108,B103,B102,B309,B308,B302,B307,B306
[testenv:debug]
commands = oslo_debug_helper {posargs}
commands = oslo_debug_helper -t designate/tests {posargs}
[testenv:flake8]
deps = -r{toxinidir}/test-requirements.txt