Comment 2 for bug 1259334

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :

Actually, those commands should instead be:

python -m coverage erase
python -m coverage run --branch --include "autopilot/*" -m autopilot.run run autopilot.tests.unit
python3 -m coverage run --append --branch --include "autopilot/*" -m autopilot.run run autopilot.tests.unit
python -m coverage xml --omit "autopilot/tests/*"

This will run the python3 unit test suite as well, and will omit test lines from the final coverage report.

Cheers,