From ff61cd36005297b4cf01302116bb6cda65c67a96 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 3 Oct 2013 09:52:08 -0700 Subject: Run coverage from the outside so it sees everything --- tox.ini | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 4d17ebe8..88e74219 100644 --- a/tox.ini +++ b/tox.ini @@ -3,9 +3,12 @@ envlist = py26,py27,pypy,py32,py33,docs,pep8 [testenv] deps = - pytest-cov + pytest + coverage pretend -commands = py.test --cov=cryptography/ --cov=tests/ +commands = + coverage run --source=cryptography/,tests/ -m pytest + coverage report [testenv:docs] deps = sphinx -- cgit v1.2.3