1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-20 11:58:14 +00:00
Samuel Sieb f9a8629157
fix percentage handling (#1094)
* fix percentage handling

* add test

* fix lint errors

Co-authored-by: Samuel Sieb <samuel@sieb.net>
2020-06-19 20:59:19 -03:00
..
2019-05-24 23:08:04 +02:00
2019-05-24 23:08:04 +02:00
2019-02-13 16:54:02 +01:00
2020-06-19 20:59:19 -03:00

Tests for ESPHome

This directory contains some tests for ESPHome. At the moment, all the tests only work by simply executing esphome over some YAML files that are made to test whether the yaml gets converted to the proper C++ code.

Of course this is all just very high-level and things like unit tests would be much better. So if you have time and know how to set up a unit testing framework for python, please do give it a try.