Unittests for esphome python code (#931)

This commit is contained in:
Tim Savage
2020-03-12 14:27:22 -07:00
committed by GitHub
parent 714d28a61a
commit c632b0e1d4
16 changed files with 1212 additions and 0 deletions
+1
View File
@@ -9,4 +9,5 @@ set -x
script/ci-custom.py
script/lint-python
script/lint-cpp
script/unit_test
script/test
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")/.."
set -x
pytest tests/unit_tests