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: Ia85c2b5ac21ebfdb098c1c0d8f6ac984cb2d6e4d
This commit is contained in:
iswarya_vakati 2017-03-13 15:12:47 +05:30 committed by iswarya vakati
parent 0532e286fb
commit dfb4f0b78d
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ commands = python setup.py test --coverage --testr-args='{posargs}'
commands = python setup.py build_sphinx
[testenv:debug]
commands = oslo_debug_helper {posargs}
commands = oslo_debug_helper -t bifrost/tests {posargs}
[testenv:releasenotes]
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html