v0.7.2 π
π§ Code enhancements
- Use Language.get to check the validity of the locale @joro75 (#74)
- Add initial pytest unittests @joro75 (#75)
- Extend utils.is_valid_locale to do more extensive check @joro75 (#76)
- Correctly handle a possible divide by zero in convert_to_mpg @joro75 (#78)
- Add unittests for location.ParkingLocation @joro75 (#80)
- Extend the check in is_valid_token to handle None @joro75 (#77)
- Add a few unittests for MyT @joro75 (#82)
- Add support for python 3.10 @DurgNomis-drol (#83)
- Include, use and check example data in unittests @joro75 (#85)
- Add unittests for Odomoter.as_dict and ParkingLocation.as_dict @joro75 (#86)
- Add unittest for client.set_alias() @joro75 (#87)
- Add unittests for MyT.get_driving_statistics @joro75 (#89)
- Add tests for sensors.py and adds pytest as as pre-commit hook @DurgNomis-drol (#84)
- Reach 100% coverage on sensors.py @DurgNomis-drol (#92)
- Add tests for format_odometer @DurgNomis-drol (#91)
- Add tests for Energy @DurgNomis-drol (#90)
- Add tests for hvac.py @DurgNomis-drol (#93)
- Add automatic censoring to logging and refactor utils to folder @DurgNomis-drol (#96)
π Bug Fixes
- Add range conversion to miles if car reports in miles @DurgNomis-drol (#72)
- Fix regex for connected services URL @joro75 (#88)