Upgrade black to 20.8b1 (#39287)
This commit is contained in:
1 parent
0d7eec710c
commit
1c2ebdf307
574 files changed
+4389
-1725
No files matched your search
@@ -29,7 +29,9 @@ async def test_lock(
|
||||
assert hass.states.get(entity_id).state == STATE_UNLOCKED
|
||||
|
||||
await hass.services.async_call(
|
||||
"lock", "lock", {"entity_id": entity_id},
|
||||
"lock",
|
||||
"lock",
|
||||
{"entity_id": entity_id},
|
||||
)
|
||||
await hass.async_block_till_done()
|
||||
vera_device.lock.assert_called()
|
||||
@@ -39,7 +41,9 @@ async def test_lock(
|
||||
assert hass.states.get(entity_id).state == STATE_LOCKED
|
||||
|
||||
await hass.services.async_call(
|
||||
"lock", "unlock", {"entity_id": entity_id},
|
||||
"lock",
|
||||
"unlock",
|
||||
{"entity_id": entity_id},
|
||||
)
|
||||
await hass.async_block_till_done()
|
||||
vera_device.unlock.assert_called()
|
||||
|
||||
Reference in new issue
Block a user