Ensure that calendar output values are json types (#95797)
This commit is contained in:
parent
0f725a24bd
commit
2f73be0e50
4 changed files with 21 additions and 14 deletions
|
@ -9,3 +9,11 @@ from homeassistant.setup import async_setup_component
|
|||
async def setup_homeassistant(hass: HomeAssistant):
|
||||
"""Set up the homeassistant integration."""
|
||||
await async_setup_component(hass, "homeassistant", {})
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def set_time_zone(hass: HomeAssistant) -> None:
|
||||
"""Set the time zone for the tests."""
|
||||
# Set our timezone to CST/Regina so we can check calculations
|
||||
# This keeps UTC-6 all year round
|
||||
hass.config.set_time_zone("America/Regina")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue