From 5a2ffc929074e4dfe71362c9df7d6c7bf5779472 Mon Sep 17 00:00:00 2001 From: Philipp Grimm Date: Tue, 14 May 2024 21:58:13 +0200 Subject: [PATCH] test thread sync --- tests/test_binary_sensor_GatewayConnectionState.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_binary_sensor_GatewayConnectionState.py b/tests/test_binary_sensor_GatewayConnectionState.py index 0ff2432d..aca80c88 100644 --- a/tests/test_binary_sensor_GatewayConnectionState.py +++ b/tests/test_binary_sensor_GatewayConnectionState.py @@ -19,7 +19,6 @@ class TestBinarySensor(unittest.TestCase): def test_GatewayConnectionState(self): gateway=GatewayMock() gateway._bus._is_active = False - gateway.hass.async_create_task = lambda a: [] gateway.hass.create_task = lambda a: [] bs = GatewayConnectionState(Platform.BINARY_SENSOR, gateway) @@ -32,7 +31,6 @@ def test_GatewayConnectionState(self): def test_directly_online_GatewayConnectionState(self): gateway=GatewayMock() gateway._bus._is_active = True - gateway.hass.async_create_task = lambda a: [] gateway.hass.create_task = lambda a: [] bs = GatewayConnectionState(Platform.BINARY_SENSOR, gateway)