diff --git a/test-requirements.txt b/test-requirements.txt index 2ed1556c1..d237b053e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -15,3 +15,4 @@ sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD tempest-lib>=0.14.0 # Apache-2.0 testtools>=1.4.0 # MIT testrepository>=0.0.18 # Apache-2.0/BSD +os-testr>=0.4.1 # Apache-2.0 diff --git a/tox.ini b/tox.ini index 0eb264409..14487efb5 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,7 @@ passenv = *_proxy *_PROXY deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = find . -type f -name "*.pyc" -delete - python setup.py testr --testr-args='{posargs}' + ostestr {posargs} whitelist_externals = find [testenv:pep8]