Freeze and fix plaato CI tests (#118103)

pull/118109/head
Jan Bouwhuis 2024-05-25 12:34:44 +02:00 committed by GitHub
parent 543d47d7f7
commit 6fc6d109c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
from unittest.mock import patch
from freezegun import freeze_time
from pyplaato.models.airlock import PlaatoAirlock
from pyplaato.models.device import PlaatoDeviceType
from pyplaato.models.keg import PlaatoKeg
@ -23,6 +24,7 @@ AIRLOCK_DATA = {}
KEG_DATA = {}
@freeze_time("2024-05-24 12:00:00", tz_offset=0)
async def init_integration(
hass: HomeAssistant, device_type: PlaatoDeviceType
) -> MockConfigEntry: