[tox] Use `python -m` to run lgc.pytest
authorDenis Laxalde <denis.laxalde@logilab.fr>
Fri, 18 Nov 2016 11:55:24 +0100
changeset 803 43842ec021be
parent 802 7905bee83581
child 804 a28961595870
[tox] Use `python -m` to run lgc.pytest Since the binary will disappear in logilab-common 1.3.0.
tox.ini
--- a/tox.ini	Tue Jul 19 10:24:13 2016 +0200
+++ b/tox.ini	Fri Nov 18 11:55:24 2016 +0100
@@ -2,4 +2,4 @@
 envlist=py27,py34
 
 [testenv]
-commands=pytest -t test
+commands = {envpython} -m logilab.common.pytest -t test