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,
Actually, those commands should instead be:
python -m coverage erase tests.unit tests.unit
python -m coverage run --branch --include "autopilot/*" -m autopilot.run run autopilot.
python3 -m coverage run --append --branch --include "autopilot/*" -m autopilot.run run autopilot.
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,