Upgrade black to 20.8b1 (#39287)

This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-08-27 13:56:20 +02:00
1 parent 0d7eec710c
commit 1c2ebdf307
574 files changed
+4389 -1725

No files matched your search

+6 -2
View File
@@ -28,7 +28,9 @@ async def test_switch(
assert hass.states.get(entity_id).state == "off"
await hass.services.async_call(
"switch", "turn_on", {"entity_id": entity_id},
"switch",
"turn_on",
{"entity_id": entity_id},
)
await hass.async_block_till_done()
vera_device.switch_on.assert_called()
@@ -38,7 +40,9 @@ async def test_switch(
assert hass.states.get(entity_id).state == "on"
await hass.services.async_call(
"switch", "turn_off", {"entity_id": entity_id},
"switch",
"turn_off",
{"entity_id": entity_id},
)
await hass.async_block_till_done()
vera_device.switch_off.assert_called()