diff --git a/test-requirements.txt b/test-requirements.txt index 887ccc1a..b13ecdaa 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,6 +7,7 @@ coverage>=4.0 # Apache-2.0 mock>=2.0 # BSD testtools>=1.4.0 # MIT testrepository>=0.0.18 # Apache-2.0/BSD +oslotest>=1.10.0 # Apache-2.0 # doc build requirements oslosphinx>=4.7.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index c5aea180..9044f49b 100644 --- a/tox.ini +++ b/tox.ini @@ -14,6 +14,7 @@ commands = python setup.py testr --slowest --testr-args='{posargs}' whitelist_externals = bash + find [testenv:pep8] commands = @@ -27,6 +28,11 @@ commands = python setup.py test --coverage \ --coverage-package-name=muranoagent --testr-args='{posargs}' coverage report --omit '*/tests/*' +[testenv:debug] +commands = + find . -type f -name "*.pyc" -delete + oslo_debug_helper -t muranoagent/tests {posargs} + [testenv:docs] commands = python setup.py build_sphinx