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: I908bab196ae9a29e8c789db1dcd4668a7f855f87
Closes-Bug: #1666560
This commit is contained in:
Luong Anh Tuan 2017-03-09 22:59:20 +07:00
parent bbb57b81b1
commit 66a0da64a8
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ commands = python setup.py test --coverage --testr-args='{posargs}'
commands = python setup.py build_sphinx
[testenv:debug]
commands = oslo_debug_helper {posargs}
commands = oslo_debug_helper -t os_win/tests/unit {posargs}
[flake8]