Simone Chemelli
484a547758
Fix pylance warning on SnapshotAssertion import ( #145206 )
2025-05-19 13:55:48 +02:00
Maciej Bieniek
09be56964d
AccuWeather tests refactoring ( #116923 )
...
* Add mock_accuweather_client
* Improve tests
* Fix exceptions
* Remove unneeded update_listener()
* Fix arguments for fixtures
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-05-06 19:41:48 +02:00
Maciej Bieniek
e7076ac83f
Use separate data coordinators for AccuWeather observation and forecast ( #115628 )
...
* Remove forecast option
* Update strings
* Use separate DataUpdateCoordinator for observation and forecast
* Fix tests
* Remove unneeded variable
* Separate data coordinator classes
* Use list comprehension
* Separate coordinator clasess to add type annotations
* Test the availability of the forecast sensor entity
* Add DataUpdateCoordinator types
* Use snapshot for test_sensor()
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-04-17 00:00:16 +02:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
Joost Lekkerkerker
af689d7c3e
Use snapshot assertion for Accuweather diagnostics ( #98725 )
2023-08-21 09:12:43 +02:00
Maciej Bieniek
d47e58fb38
Bump `accuweather` to version 1.0.0 ( #93305 )
2023-05-21 14:50:10 +02:00
epenet
8c821c8969
Add JSON support to load_fixture ( #88076 )
...
* Add JSON support to load_fixture
* More tests
* Remove lru_cache on load_json
2023-02-16 19:40:47 +01:00
epenet
2545694d41
Add type hints to integration tests (a) ( #87684 )
...
* Add type hints to accuweather tests
* Adjust a** components
* Adjust aiohttp_client
* ClientSessionGenerator/WebSocketGenerator
2023-02-08 12:16:23 +01:00
epenet
c5a56dab42
Apply hass-relative-import to tests (a-c) ( #78728 )
2022-09-19 09:48:25 +02:00
Maciej Bieniek
24212ab598
Add diagnostics platform for AccuWeather integration ( #68752 )
2022-03-28 08:42:25 -07:00