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: Id72596a8c3d9e2e344ef492f2d60b89bc0422aec Closes-Bug: #1666560
This commit is contained in:

committed by
Tuan Luong-Anh

parent
03ac32b1be
commit
7250886d14
2
tox.ini
2
tox.ini
@@ -29,7 +29,7 @@ commands =
|
|||||||
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 watcherclient/tests/unit {posargs}
|
||||||
|
|
||||||
[testenv:functional]
|
[testenv:functional]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
|
Reference in New Issue
Block a user