summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorRodrigo Duarte Sousa <rodrigods@lsd.ufcg.edu.br>2014-12-09 17:30:36 -0300
committerRodrigo Duarte Sousa <rodrigods@lsd.ufcg.edu.br>2014-12-09 17:30:36 -0300
commit7c9db3c70a9d8e4264b21d5e1e9aa48c7f53c200 (patch)
tree7cabbc7ee23e5ff378d9f8e960e0ff3d833d8e90 /tox.ini
parent520a60538b505e0167811d149a6b21888051c72e (diff)
downloadoslo-policy-7c9db3c70a9d8e4264b21d5e1e9aa48c7f53c200.tar.gz
Add openstack.common and requirements fixes
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 6 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 13dab83..b4fbeb9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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.