diff --git a/test-requirements.txt b/test-requirements.txt index 059b2a7e..6b245d4e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,6 +5,7 @@ hacking<0.11,>=0.10.0 coverage>=3.6 discover oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 +oslotest>=1.10.0 # Apache-2.0 requests-mock>=0.7.0 # Apache-2.0 sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 testrepository>=0.0.18 diff --git a/tox.ini b/tox.ini index 94b779b9..ef0c39a6 100644 --- a/tox.ini +++ b/tox.ini @@ -20,6 +20,17 @@ commands = find . -type f -name "*.pyc" -delete python setup.py testr --testr-args='{posargs}' whitelist_externals = find +[testenv:debug] +commands = oslo_debug_helper -t troveclient/tests {posargs} + +[testenv:debug-py27] +basepython = python2.7 +commands = oslo_debug_helper -t troveclient/tests {posargs} + +[testenv:debug-py34] +basepython = python3.4 +commands = oslo_debug_helper -t troveclient/tests {posargs} + [testenv:pep8] commands = flake8