Don't run coverage-related tests, as we don't really care in Debian and it can lead to failures. Index: pypuppetdb/pytest.ini =================================================================== --- pypuppetdb.orig/pytest.ini +++ pypuppetdb/pytest.ini @@ -5,6 +5,6 @@ filterwarnings = markers = pep8: workaround for https://bitbucket.org/pytest-dev/pytest-pep8/issues/23/ pep8maxlinelength = 100 -addopts = --cov=pypuppetdb --cov-report=term-missing +#addopts = --cov=pypuppetdb --cov-report=term-missing norecursedirs = docs .tox venv .eggs lib python_files = tests/*.py