diff --git a/tox.ini b/tox.ini index d0faa9db..b6cc2998 100644 --- a/tox.ini +++ b/tox.ini @@ -1,18 +1,19 @@ [tox] envlist=flake8,py3 [testenv:py3] deps = .[testing] pytest-cov pifpaf + pytest-django commands = - pifpaf run postgresql -- pytest {envsitepackagesdir}/swh/deposit --cov=swh --cov-branch {posargs} + pifpaf run postgresql -- pytest --cov {envsitepackagesdir}/swh/deposit --cov-branch {posargs} {envsitepackagesdir}/swh/deposit [testenv:flake8] skip_install = true deps = flake8 commands = {envpython} -m flake8 \ --exclude=.tox,.git,__pycache__,.tox,.eggs,*.egg,swh/deposit/migrations