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: I13b7a11bc1a3e76709352a248d9eaa64aeba8bc3
This commit is contained in:
Nguyen Van Trung 2017-12-11 08:04:05 +07:00
parent 111630aa07
commit be6b4860fd
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
commands = python setup.py build_sphinx
[testenv:debug]
commands = oslo_debug_helper {posargs}
commands = oslo_debug_helper -t cyborg/tests {posargs}
[pep8]
# E123, E125 skipped as they are invalid PEP-8.