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

Change-Id: Iea41d487e9028fdf92450c0ee44ef2f6c27eab6f
This commit is contained in:
iswarya_vakati 2017-03-13 15:21:00 +05:30
parent 8771244722
commit 47e93ecddf
1 changed files with 3 additions and 3 deletions

View File

@ -23,15 +23,15 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees \
commands = sphinx-build -a -E -W -d install-guide/build/doctrees -b html install-guide/source install-guide/build/html
[testenv:debug]
commands = oslo_debug_helper {posargs}
commands = oslo_debug_helper -t meteos/tests {posargs}
[testenv:debug-py27]
basepython = python2.7
commands = oslo_debug_helper {posargs}
commands = oslo_debug_helper -t meteos/tests {posargs}
[testenv:debug-py35]
basepython = python3.5
commands = oslo_debug_helper {posargs}
commands = oslo_debug_helper -t meteos/tests {posargs}
[testenv:pep8]
commands = flake8 {posargs}