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:
parent
066b861762
commit
89393d8c66
2
tox.ini
2
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue