hass-core/tests
G Johansson 4e30056830
Add new Forecasting to Weather (#75219)
* Add new Forecasting to Weather

* Add is_daytime for forecast_twice_daily

* Fix test

* Fix demo test

* Adjust tests

* Fix typing

* Add demo

* Mod demo more realistic

* Fix test

* Remove one weather

* Fix weather example

* kitchen_sink

* Reverse demo partially

* mod kitchen sink

* Fix twice_daily

* kitchen_sink

* Add test weathers

* Add twice daily to demo

* dt_util

* Fix names

* Expose forecast via WS instead of as state attributes

* Regularly update demo + kitchen_sink weather forecasts

* Run linters

* Fix rebase mistake

* Improve demo test coverage

* Improve weather test coverage

* Exclude kitchen_sink weather from test coverage

* Rename async_update_forecast to async_update_listeners

* Add async_has_listeners helper

* Revert "Add async_has_listeners helper"

This reverts commit 52af3664bb06d9feac2c5ff963ee0022077c23ba.

* Fix rebase mistake

---------

Co-authored-by: Erik <erik@montnemery.com>
2023-07-21 17:30:48 +02:00
..
auth Use call_at for events instead call_later (#93431) 2023-05-24 21:04:07 +02:00
backports Add return type to tests without arguments (#87613) 2023-02-07 14:20:06 +01:00
components Add new Forecasting to Weather (#75219) 2023-07-21 17:30:48 +02:00
fixtures Unblock JSON CI by fixing improperly indented JSON in test fixture (#88803) 2023-02-26 14:41:16 -06:00
hassfest Add type hints to core tests (#88478) 2023-02-20 11:42:56 +01:00
helpers Fix broken service test (#96943) 2023-07-20 13:11:55 +02:00
pylint Remove incorrect ignore in pylint plugin (#90024) 2023-03-27 13:53:14 +02:00
resources
scripts Allow parameterizing YAML config in tests (#87981) 2023-02-20 16:57:12 +01:00
test_util Adjust json imports in tests (#88248) 2023-02-17 19:13:48 +01:00
testing_config Add new Forecasting to Weather (#75219) 2023-07-21 17:30:48 +02:00
util Update Ruff to v0.0.277 (#96108) 2023-07-09 10:10:23 -04:00
__init__.py
common.py Allow stopping a script with a response value (#95284) 2023-06-27 08:24:22 +02:00
conftest.py Fix assertions in zeroconf tests (#96957) 2023-07-20 20:36:46 +02:00
ignore_uncaught_exceptions.py
ruff.toml Move overlapping pylint rules to ruff, disable mypy overlap (#94359) 2023-06-27 17:42:46 +02:00
syrupy.py Use ReadOnlyDict for entity registry options (#93824) 2023-05-30 20:11:39 -04:00
test_bootstrap.py Improve comment on patching the _import method in test bootstrap dependencies test (#91848) 2023-04-22 13:40:38 +02:00
test_config.py Add type hints to core tests (part 2) (#88492) 2023-02-21 09:27:13 +01:00
test_config_entries.py Debounce discoveries to improve event loop stability at the started event (#94690) 2023-06-15 22:15:07 -04:00
test_core.py Refactor async_get_hass to rely on threading.local instead of a ContextVar (#96005) 2023-07-07 14:52:38 -04:00
test_data_entry_flow.py Reduce in progress flow matching overhead (#94403) 2023-06-11 10:41:38 +02:00
test_exceptions.py Enable Ruff PT006 (#88165) 2023-02-15 14:09:50 +01:00
test_loader.py Complete persistent notifications migration (#92828) 2023-05-25 23:09:13 -04:00
test_main.py Add type hints to core tests (part 2) (#88492) 2023-02-21 09:27:13 +01:00
test_requirements.py Add type hints to core tests (part 2) (#88492) 2023-02-21 09:27:13 +01:00
test_runner.py Add tmpdir to known fixtures in pylint (#89844) 2023-03-17 10:22:02 +01:00
test_setup.py Detect attempt to setup config entry integration via YAML (#93589) 2023-05-29 21:01:47 +02:00
test_test_fixtures.py Add type hints to core tests (part 2) (#88492) 2023-02-21 09:27:13 +01:00
typing.py Add MockHAClientWebSocket test helper (#87832) 2023-02-10 10:23:26 -05:00