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: I18ea63e9303b2a69f69de3e42b52c8a9f25bf7a5
This commit is contained in:
parent
124caad93e
commit
04052686af
2
tox.ini
2
tox.ini
|
@ -36,7 +36,7 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:debug]
|
[testenv:debug]
|
||||||
|
|
||||||
commands = oslo_debug_helper {posargs}
|
commands = oslo_debug_helper -t keystonemiddleware/tests {posargs}
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# D100: Missing docstring in public module
|
# D100: Missing docstring in public module
|
||||||
|
|
Loading…
Reference in New Issue