Include support for using oslo debugger in tests

Simply run `tox -e debug <test_name>` to get an interactive
debugging prompt

Change-Id: I09e5b844a33c2f0fd4230f01fbc6c0aa8d752545
This commit is contained in:
Steve Martinelli 2014-10-21 18:00:13 -04:00
parent 5b7d3ba9dc
commit e7bba3211a
2 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,7 @@ discover
fixtures>=0.3.14
mock>=1.0
oslosphinx>=2.2.0 # Apache-2.0
oslotest>=1.2.0 # Apache-2.0
requests-mock>=0.4.0 # Apache-2.0
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
testrepository>=0.0.18

View File

@ -25,6 +25,9 @@ commands = {posargs}
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:debug]
commands = oslo_debug_helper -t openstackclient/tests {posargs}
[tox:jenkins]
downloadcache = ~/cache/pip