From 50c0a3b7985f8953375bd3948dc6285658fe8dc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Tisa=CC=88ter?= Date: Fri, 1 May 2015 19:59:09 +0200 Subject: [PATCH] Add coverage report --- .gitignore | 1 + tox.ini | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a3866ff..42bbfb5 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ build/ dist/ MySQLdb/release.py +.coverage diff --git a/tox.ini b/tox.ini index 831b12e..131a497 100644 --- a/tox.ini +++ b/tox.ini @@ -2,5 +2,9 @@ envlist = py26, py27, pypy, py33, py34 [testenv] -commands = py.test -deps = pytest +commands = + py.test --cov {envsitepackagesdir}/MySQLdb +deps = + coverage==3.7.1 + pytest + pytest-cov