diff options
author | Rodrigo Duarte Sousa <rodrigods@lsd.ufcg.edu.br> | 2014-12-09 17:30:36 -0300 |
---|---|---|
committer | Rodrigo Duarte Sousa <rodrigods@lsd.ufcg.edu.br> | 2014-12-09 17:30:36 -0300 |
commit | 7c9db3c70a9d8e4264b21d5e1e9aa48c7f53c200 (patch) | |
tree | 7cabbc7ee23e5ff378d9f8e960e0ff3d833d8e90 /tox.ini | |
parent | 520a60538b505e0167811d149a6b21888051c72e (diff) | |
download | oslo-policy-7c9db3c70a9d8e4264b21d5e1e9aa48c7f53c200.tar.gz |
Add openstack.common and requirements fixes
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -14,7 +14,9 @@ setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -commands = python setup.py testr --slowest --testr-args='{posargs}' +commands = + # Use the lockutils wrapper to ensure that external locking works correctly + python -m oslo_policy.openstack.common.lockutils python setup.py test --slowest --testr-args='{posargs}' [testenv:pep8] commands = flake8 @@ -26,7 +28,9 @@ commands = {posargs} commands = python setup.py build_sphinx [testenv:cover] -commands = python setup.py testr --coverage --testr-args='{posargs}' +commands = + # Use the lockutils wrapper to ensure that external locking works correctly + python -m oslo_policy.openstack.common.lockutils python setup.py test --coverage --testr-args='{posargs}' [flake8] # H803 skipped on purpose per list discussion. |