Commit graph

27 commits

Author SHA1 Message Date
Bas Nijholt
0127496441
Add example of how to pass command line args (#483) 2023-03-27 05:47:50 +00:00
Bas Nijholt
85461ea856
Always color the logs and print coverage report (#481) 2023-03-27 04:37:21 +00:00
Bas Nijholt
aa282c83b2
Fix Markdown URL (#479) 2023-03-26 19:50:40 -07:00
Bas Nijholt
a523cccb04
Add command to print pytest with colors in Docker (#473) 2023-03-27 01:46:36 +00:00
Bas Nijholt
1b08e8e6ba
Add testing Dockerfile (#470)
* Add testing Dockerfile

* Add comments

* Format table

* Add tests/README.md

* Rephrase

* add note in dockerfile
2023-03-27 01:18:18 +00:00
Benjamin Auquite
06dcdbb4a4
Fix the broken tests (#467)
* Update test_dependencies.py

pytest reversion todo in later commit

* increase verbosity for analysis

* "instance" was created in the basic features PR.

* Can't stand the deprecation warnings.

* add testing steps to workflow action in logs.

Help the next person running into this issue again.

* wording in new messages.

* Manifest keys should be sorted: domain, name, then alphabetical order

* return basnijholt's original settings.

replaced `-v` with `-qq` again in `pytest.yaml`,
returned `branches: [master]` in both yaml files.

* Forgot a comma

* Update version in manifest to 1.6.0

* @th3w1zard1 is a code owner!

* Update .gitignore

* Revert "Update .gitignore"

This reverts commit 172841d356.
2023-03-26 15:04:13 -07:00
Bas Nijholt
1ef55ca180
Use Kelvin instead of Mired, default since core=2022.11 (#375)
* Use Kelvin instead of Mired, default since core=2022.11

* Fix attributes

* Use ATTR_COLOR_TEMP_KELVIN in tests

* use kelvin in tests

* no duplicate

* Round to nearest 5
2022-12-11 16:54:57 -08:00
Bas Nijholt
70899dfe22 Remove area_id from entity_registry.async_get_or_create, closes #356 2022-11-06 15:17:58 -08:00
Bas Nijholt
48b7bc4398 Fix test_area 2022-08-29 19:36:15 -07:00
Bas Nijholt
7bcd70cbec Add TODO to the test 2022-08-29 19:25:04 -07:00
Bas Nijholt
b64c44fc8d Use area_entities to extract entity_ids from area 2022-08-29 18:51:24 -07:00
Bas Nijholt
17061f360f Add test_area test, reproduce issue of #75 2022-08-29 18:28:54 -07:00
Bas Nijholt
6b3686696b Fix pre-commit issues 2022-08-29 09:25:38 -07:00
Bas Nijholt
2661765990 Remove test_expand_light_groups 2022-08-28 22:25:13 -07:00
Bas Nijholt
f198071584 Use variable 2022-08-28 22:24:36 -07:00
Bas Nijholt
60179cbe38 Fix test_separate_turn_on_commands 2022-08-28 22:02:52 -07:00
Bas Nijholt
bc825f035c Remove fixture that is not neede 2022-08-28 16:12:12 -07:00
Bas Nijholt
26bce85318 Setup demo platform 2022-08-28 16:11:23 -07:00
Bas Nijholt
01fd7f96e2 Run all pre-commit filters 2022-08-28 15:08:03 -07:00
Bas Nijholt
5c760b5f4a call platform.init() 2022-08-28 15:07:07 -07:00
Bas Nijholt
b6309e89d3 Fix assert and block till done 2022-08-28 14:44:24 -07:00
Bas Nijholt
4baa564f42 Fix setting up lights 2022-08-28 14:39:53 -07:00
Bas Nijholt
167530d77c Fix test_successful_config_entry and test_unload_entry 2022-08-28 14:30:24 -07:00
Bas Nijholt
0016818beb Fix TZ test 2022-08-28 14:13:33 -07:00
Bas Nijholt
b9ff3d6f9a Try to copy over files 2022-08-28 13:42:55 -07:00
Bas Nijholt
a9428ed936 Fix PYTHONPATH 2022-08-28 12:36:37 -07:00
Bas Nijholt
10e16dc40f Copy tests from https://github.com/home-assistant/core/pull/40626 2022-08-28 12:05:31 -07:00