From 95593cb80436685c0e90846ae108eb4b24d2e906 Mon Sep 17 00:00:00 2001 From: anti Date: Sun, 10 May 2026 05:36:07 -0400 Subject: [PATCH] fix(test): access DeckyRow.uuid as attribute, not dict key --- tests/api/topology/test_child_crud.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/api/topology/test_child_crud.py b/tests/api/topology/test_child_crud.py index e88f13c8..5334f0fe 100644 --- a/tests/api/topology/test_child_crud.py +++ b/tests/api/topology/test_child_crud.py @@ -132,7 +132,7 @@ async def test_decky_create_ok(client, auth_token): async def test_decky_patch_ok(client, auth_token): topology_id = await _seed("decky-patch") deckies = await _repo.list_topology_deckies(topology_id) - decky_uuid = deckies[0]["uuid"] + decky_uuid = deckies[0].uuid r = await client.patch( f"{_V1}/{topology_id}/deckies/{decky_uuid}", @@ -185,7 +185,7 @@ async def test_edge_create_and_delete(client, auth_token): lan_id = new_lan.json()["id"] deckies = await _repo.list_topology_deckies(topology_id) - decky_uuid = deckies[0]["uuid"] + decky_uuid = deckies[0].uuid r = await client.post( f"{_V1}/{topology_id}/edges",