mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Upgrade black to 20.8b1 (#39287)
This commit is contained in:
@@ -314,7 +314,10 @@ async def test_shade(hass, zha_device_joined_restored, zigpy_shade_device):
|
||||
# test cover stop
|
||||
with patch("zigpy.zcl.Cluster.request", side_effect=asyncio.TimeoutError):
|
||||
await hass.services.async_call(
|
||||
DOMAIN, SERVICE_STOP_COVER, {"entity_id": entity_id}, blocking=True,
|
||||
DOMAIN,
|
||||
SERVICE_STOP_COVER,
|
||||
{"entity_id": entity_id},
|
||||
blocking=True,
|
||||
)
|
||||
assert cluster_level.request.call_count == 1
|
||||
assert cluster_level.request.call_args[0][0] is False
|
||||
|
||||
Reference in New Issue
Block a user