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:
Luong Anh Tuan
2017-03-09 23:55:21 +07:00
committed by Tuan Luong-Anh
parent 03ac32b1be
commit 7250886d14

View File

@@ -29,7 +29,7 @@ commands =
commands = python setup.py build_sphinx
[testenv:debug]
commands = oslo_debug_helper {posargs}
commands = oslo_debug_helper -t watcherclient/tests/unit {posargs}
[testenv:functional]
basepython = python2.7