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

diff --git a/tox.ini b/tox.ini
index dec4e03af8da359af0d1d1b98dc8367158f3420e..0574d8a58e902e1b1f7e53f0d2d5cf653be72f27 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -19,7 +19,7 @@ whitelist_externals =
 
 [general]
 commands =
-    python /usr/local/bin/py.test --cov={envsitepackagesdir}/sqlconvert
+    python -m pytest --cov=sqlconvert
 
 [testenv:py26]
 commands = {[general]commands}