]> git.phdru.name Git - m_librarian.git/commitdiff
Simplify tox.ini: call pytest with the current python
authorOleg Broytman <phd@phdru.name>
Sat, 24 Sep 2016 00:00:30 +0000 (03:00 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 24 Sep 2016 00:00:30 +0000 (03:00 +0300)
tox.ini

diff --git a/tox.ini b/tox.ini
index 596e198a334d9e14660cb5c8525c3b5d31bb34a4..f0564e5419482dd562c8da17718c0c1c2c180015 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -20,7 +20,7 @@ whitelist_externals =
 
 [general]
 commands =
-    python /usr/local/bin/py.test --cov={envsitepackagesdir}/m_librarian
+    python -m pytest --cov=m_librarian
 
 [testenv:py26]
 commands = {[general]commands}