mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
@@ -92,7 +92,8 @@ async def test_load_backups(hass: HomeAssistant) -> None:
|
||||
"date": TEST_BACKUP.date,
|
||||
},
|
||||
), patch(
|
||||
"pathlib.Path.stat", return_value=MagicMock(st_size=TEST_BACKUP.size)
|
||||
"pathlib.Path.stat",
|
||||
return_value=MagicMock(st_size=TEST_BACKUP.size),
|
||||
):
|
||||
await manager.load_backups()
|
||||
backups = await manager.get_backups()
|
||||
|
||||
Reference in New Issue
Block a user