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: I13b7a11bc1a3e76709352a248d9eaa64aeba8bc3
This commit is contained in:
parent
111630aa07
commit
be6b4860fd
2
tox.ini
2
tox.ini
|
@ -39,7 +39,7 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|||
commands = python setup.py build_sphinx
|
||||
|
||||
[testenv:debug]
|
||||
commands = oslo_debug_helper {posargs}
|
||||
commands = oslo_debug_helper -t cyborg/tests {posargs}
|
||||
|
||||
[pep8]
|
||||
# E123, E125 skipped as they are invalid PEP-8.
|
||||
|
|
Loading…
Reference in New Issue