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: I1e1e896254a1db26788785d35808cb48470f3f0f
Closes-Bug: #1666560
This commit is contained in:
Luong Anh Tuan 2017-03-09 22:54:02 +07:00
parent ac861190be
commit e6adeb73cc
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,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 openstack_user_stories/tests {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.