Indicating the location tests directory in oslo_debug_helper

According to [1], we can pass a "-t" argument to
oslo_debug_helper to indicate the directory where tests
are located. This will solve ImportError exception.

[1] https://docs.openstack.org/developer/oslotest/features.html

Change-Id: I8354c3d39f0ce200665caeabfdec4aad008dbf07
This commit is contained in:
Hoang Trung Hieu 2018-01-03 09:05:39 +07:00
parent 066b861762
commit 89393d8c66
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 kosmos/tests {posargs}
[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html