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: Ifb290b00e79f9d5236d84163c13571dc74cea4e0
Closes-Bug: #1666560
This commit is contained in:
Luong Anh Tuan 2017-03-09 22:49:02 +07:00 committed by Tuan Luong-Anh
parent 5fb299dc21
commit 0b2bcf9ed6

View File

@ -42,7 +42,7 @@ commands =
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
[testenv:debug]
commands = oslo_debug_helper {posargs}
commands = oslo_debug_helper -t neutron_lib/tests/unit {posargs}
[testenv:api-report]
commands =