diff options
| author | Steve Martinelli <stevemar@ca.ibm.com> | 2014-10-21 18:00:13 -0400 |
|---|---|---|
| committer | Steve Martinelli <stevemar@ca.ibm.com> | 2014-10-22 14:29:36 -0400 |
| commit | e7bba3211a08a295a15997a552237b06e2238e3d (patch) | |
| tree | 6799e3b56b4420a9584b0ccf286b64cda893f3d2 | |
| parent | 5b7d3ba9dc629b7b37d211d7544558092c2181ac (diff) | |
| download | python-openstackclient-e7bba3211a08a295a15997a552237b06e2238e3d.tar.gz | |
Include support for using oslo debugger in tests
Simply run `tox -e debug <test_name>` to get an interactive
debugging prompt
Change-Id: I09e5b844a33c2f0fd4230f01fbc6c0aa8d752545
| -rw-r--r-- | test-requirements.txt | 1 | ||||
| -rw-r--r-- | tox.ini | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index 1bd4efb8..259ace26 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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 @@ -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 |
