[tox]
-envlist = flake8-py2, flake8-py3, mypy
+envlist = flake8-py2, flake8-py3, mypy, pytest
skipsdist = True
[testenv:flake8-py2]
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