1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 20:35:55 +00:00

Rename disk_data to data_disk (#3200)

This commit is contained in:
Joakim Sørensen
2021-10-04 22:46:28 +02:00
committed by GitHub
parent de880e24ed
commit eba6da485d
3 changed files with 5 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ async def test_api_os_info(api_client):
"update_available",
"board",
"boot",
"disk_data",
"data_disk",
):
assert attr in result["data"]
@@ -35,7 +35,7 @@ async def test_api_os_info_with_agent(api_client, coresys: CoreSys):
resp = await api_client.get("/os/info")
result = await resp.json()
assert result["data"]["disk_data"] == "/dev/sda"
assert result["data"]["data_disk"] == "/dev/sda"
@pytest.mark.asyncio