Closed john-zither closed 8 months ago
Updated code to read these the updated climate zone weighting factors.
I am a little concerned that the tests don't seem to cover the climate zone file at all.
Name Stmts Miss Cover Missing thermostat/climate_zone.py 31 16 48% 64-80
What is the best way to test this file? I would like to add a test before merging my changes to it in.
@john-zither Short answer to the test question is that retrieve_climate_zone() is not used. I have submitted a new issue #47 for cleaning up the zipcode/climate zone/weather code, but I can't assign it.
Updated code to read these the updated climate zone weighting factors.
I am a little concerned that the tests don't seem to cover the climate zone file at all.
What is the best way to test this file? I would like to add a test before merging my changes to it in.