fix(test): access LANRow.id as attribute, not dict key

This commit is contained in:
2026-05-10 05:26:49 -04:00
parent 967aec56d2
commit 16e032b7a5

View File

@@ -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}",