Skip to content

Commit

Permalink
test thread sync
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmpp committed May 14, 2024
1 parent bf0882e commit 5a2ffc9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_binary_sensor_GatewayConnectionState.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand Down

0 comments on commit 5a2ffc9

Please sign in to comment.