mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Make sure empty get_events results is always a list (#72021)
This commit is contained in:
@@ -2391,6 +2391,7 @@ async def test_get_events_future_start_time(hass, hass_ws_client, recorder_mock)
|
||||
assert response["id"] == 1
|
||||
|
||||
results = response["result"]
|
||||
assert isinstance(results, list)
|
||||
assert len(results) == 0
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user