Pass located tests directory in oslo debug
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 Closes-Bug: #1666560 Change-Id: Ia85c2b5ac21ebfdb098c1c0d8f6ac984cb2d6e4d
This commit is contained in:
parent
0532e286fb
commit
dfb4f0b78d
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
|
commands = python setup.py build_sphinx
|
||||||
|
|
||||||
[testenv:debug]
|
[testenv:debug]
|
||||||
commands = oslo_debug_helper {posargs}
|
commands = oslo_debug_helper -t bifrost/tests {posargs}
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
|
Loading…
x
Reference in New Issue
Block a user