Address late review of freebox tests (#95910)

Use lower case for local variables
This commit is contained in:
Jan Bouwhuis 2023-07-05 16:59:10 +02:00 committed by GitHub
parent c7f6d84058
commit d9721702af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,9 +31,9 @@ async def test_raid_array_degraded(hass: HomeAssistant, router: Mock) -> None:
)
# Now simulate we degraded
DATA_STORAGE_GET_RAIDS_DEGRADED = deepcopy(DATA_STORAGE_GET_RAIDS)
DATA_STORAGE_GET_RAIDS_DEGRADED[0]["degraded"] = True
router().storage.get_raids.return_value = DATA_STORAGE_GET_RAIDS_DEGRADED
data_storage_get_raids_degraded = deepcopy(DATA_STORAGE_GET_RAIDS)
data_storage_get_raids_degraded[0]["degraded"] = True
router().storage.get_raids.return_value = data_storage_get_raids_degraded
# Simulate an update
async_fire_time_changed(hass, dt_util.utcnow() + timedelta(seconds=60))
# To execute the save