-
Install python coverage
python3 -m pip install coverage
-
Install mock requests
python3 -m pip install requests-mock
-
Remove any currenlty installed versions of PurpleAirAPI.
python3 -m pip uninstall purpleair_api
python3 -m unittest && coverage html -d purpleair_api_coverage_reports