From 11fa8dd4023bd8c1d73abae23735497be8475106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Armando=20Garc=C3=ADa=20Sancio?= Date: Wed, 21 Jan 2015 16:31:20 +0000 Subject: [PATCH] Add code coverage to tox --- tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 0e16b95..db277a7 100644 --- a/tox.ini +++ b/tox.ini @@ -4,10 +4,11 @@ envlist = py27,py34 [testenv] deps = pytest + pytest-cov flake8 isort commands = flake8 dcos tests - isort -rc -c -vb dcos tests - py.test tests + isort -rc -c -vb {envsitepackagesdir}/dcos + py.test --cov {envsitepackagesdir}/dcos tests