mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Address late review of freebox tests (#95910)
Use lower case for local variables
This commit is contained in:
parent
c7f6d84058
commit
d9721702af
@ -31,9 +31,9 @@ async def test_raid_array_degraded(hass: HomeAssistant, router: Mock) -> None:
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Now simulate we degraded
|
# Now simulate we degraded
|
||||||
DATA_STORAGE_GET_RAIDS_DEGRADED = deepcopy(DATA_STORAGE_GET_RAIDS)
|
data_storage_get_raids_degraded = deepcopy(DATA_STORAGE_GET_RAIDS)
|
||||||
DATA_STORAGE_GET_RAIDS_DEGRADED[0]["degraded"] = True
|
data_storage_get_raids_degraded[0]["degraded"] = True
|
||||||
router().storage.get_raids.return_value = DATA_STORAGE_GET_RAIDS_DEGRADED
|
router().storage.get_raids.return_value = data_storage_get_raids_degraded
|
||||||
# Simulate an update
|
# Simulate an update
|
||||||
async_fire_time_changed(hass, dt_util.utcnow() + timedelta(seconds=60))
|
async_fire_time_changed(hass, dt_util.utcnow() + timedelta(seconds=60))
|
||||||
# To execute the save
|
# To execute the save
|
||||||
|
Loading…
x
Reference in New Issue
Block a user