Closed mhauru closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
2dde169
) 89.16% compared to head (f5ae881
) 89.17%.:exclamation: Current head f5ae881 differs from pull request most recent head a38d36e. Consider uploading reports for the commit a38d36e to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:O FreezeTime!! Should have known there would be a python library for my problems!
One of the ingress tests started failing once the hardcoded datetime in it fell 5 days behind the current date, because of the limitations of the API. I fixed it by using the freezegun library to mock all calls to
datetime.now()
. Introducing this ability made theoverride_inferred_weather_api
argument unnecessary, so I removed it.