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
@@ -541,7 +541,11 @@ async def test_off_action_optimistic(hass, calls):
|
||||
async def test_restore_state(hass):
|
||||
"""Test state restoration."""
|
||||
mock_restore_cache(
|
||||
hass, (State("switch.s1", STATE_ON), State("switch.s2", STATE_OFF),),
|
||||
hass,
|
||||
(
|
||||
State("switch.s1", STATE_ON),
|
||||
State("switch.s2", STATE_OFF),
|
||||
),
|
||||
)
|
||||
|
||||
hass.state = CoreState.starting
|
||||
|
||||
Reference in new issue
Block a user