From 16e032b7a56617fd6a632359bbf4d72b206228b5 Mon Sep 17 00:00:00 2001 From: anti Date: Sun, 10 May 2026 05:26:49 -0400 Subject: [PATCH] fix(test): access LANRow.id as attribute, not dict key --- tests/api/topology/test_child_crud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api/topology/test_child_crud.py b/tests/api/topology/test_child_crud.py index b8c36375..e88f13c8 100644 --- a/tests/api/topology/test_child_crud.py +++ b/tests/api/topology/test_child_crud.py @@ -69,7 +69,7 @@ async def test_lan_create_blocked_when_active(client, auth_token): async def test_lan_patch_ok(client, auth_token): topology_id = await _seed("lan-patch") lans = await _repo.list_lans_for_topology(topology_id) - lan_id = lans[0]["id"] + lan_id = lans[0].id r = await client.patch( f"{_V1}/{topology_id}/lans/{lan_id}",