]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tox.ini
import 15.2.4
[ceph.git] / ceph / qa / tox.ini
index 746cd1b4f44d0084d0be1aed11fb1f06fe869a5c..31a1ef4fd43d6472579c1e63a566c8ce71277bcb 100644 (file)
@@ -1,5 +1,5 @@
 [tox]
-envlist = flake8-py2, flake8-py3, mypy
+envlist = flake8-py2, flake8-py3, mypy, pytest
 skipsdist = True
 
 [testenv:flake8-py2]
@@ -18,3 +18,11 @@ commands=flake8 --select=F,E9 --exclude=venv,.tox
 basepython = python3
 deps = mypy==0.770
 commands = mypy {posargs:.}
+
+[testenv:pytest]
+basepython = python2
+deps =
+  {env:TEUTHOLOGY_GIT:git+https://github.com/ceph/teuthology.git@py2}#egg=teuthology[test]
+  httplib2
+  mock
+commands = pytest -vv tasks/tests