Commit c12f4dd8 authored by Joshua Powers's avatar Joshua Powers Committed by Scott Moser

Add coverage collection to tox unit tests.

First step in increasing coverage is knowing what coverage
is currently at.  By default, tox only runs coverage on py3 as it
is slower to run with coverage.
parent f7a57562
......@@ -4,3 +4,4 @@ dist
......@@ -3,6 +3,7 @@ httpretty>=0.7.1
# Only needed if you want to know the test times
# nose-timer
......@@ -19,6 +19,9 @@ setenv =
basepython = python3
commands = {envpython} -m nose \
{posargs:--with-coverage --cover-erase \
--cover-branches --cover-package=cloudinit --cover-inclusive}
commands = nosetests {posargs:tests}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment