diff --git a/test-requirements.txt b/test-requirements.txt index c69d2a2f5..16c7d8ccf 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,6 +8,7 @@ fixtures>=3.0.0 # Apache-2.0/BSD mock>=2.0 # BSD python-subunit>=0.0.18 # Apache-2.0/BSD openstackdocstheme>=1.11.0 # Apache-2.0 +oslotest>=1.10.0 # Apache-2.0 requests-mock>=1.1 # Apache-2.0 sphinx>=1.6.2 # BSD testrepository>=0.0.18 # Apache-2.0/BSD diff --git a/tox.ini b/tox.ini index 9df877edd..e2421549e 100644 --- a/tox.ini +++ b/tox.ini @@ -37,6 +37,12 @@ commands = flake8 shade [testenv:venv] commands = {posargs} +[testenv:debug] +whitelist_externals = find +commands = + find . -type f -name "*.pyc" -delete + oslo_debug_helper {posargs} + [testenv:cover] commands = python setup.py testr --coverage --testr-args='{posargs}'