X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=tox.ini;h=57654e00cc5f7f0d4ac5e4899bdcd932acf59812;hb=bbc3598c778f61a61409ebfc118dce6497b3188f;hp=596e198a334d9e14660cb5c8525c3b5d31bb34a4;hpb=ca761eabe858ca36bc5a6db14580aa6c026d94c8;p=m_librarian.git diff --git a/tox.ini b/tox.ini index 596e198..57654e0 100644 --- a/tox.ini +++ b/tox.ini @@ -16,11 +16,10 @@ sitepackages = True # Don't fail or warn on uninstalled commands whitelist_externals = flake8 - py.test [general] commands = - python /usr/local/bin/py.test --cov={envsitepackagesdir}/m_librarian + python -m pytest --cov=m_librarian [testenv:py26] commands = {[general]commands} @@ -34,9 +33,9 @@ commands = {[general]commands} [testenv:py27-flake8] deps = flake8 -commands = flake8 m_librarian scripts test +commands = flake8 [testenv:py34-flake8] deps = flake8 -commands = flake8 m_librarian scripts test +commands = flake8