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