bsdd: fix test_get_class_relations

`classRelations` doesn't exist on `ClassPropertiesContractV1`, probably was just a typo.

(cherry picked from commit a7a7edfd27)
This commit is contained in:
Andrej730
2026-07-15 12:26:00 +05:00
committed by Dion Moult
parent 6935c631d4
commit 30c9956fac
+1 -1
View File
@@ -40,7 +40,7 @@ def test_get_class():
def test_get_class_relations():
uri_light_fixture = next(l for l in get_ifc_classes()["classes"] if "IfcLightFixture" == l["code"])["uri"]
ifc4x3_light_fixture_relations = client.get_class_properties(uri_light_fixture, True)
ifc4x3_light_fixture_relations = client.get_class_relations(uri_light_fixture, True)
assert "Electrical unit for light-line system" and "Tubelight system" in [
r["className"] for r in ifc4x3_light_fixture_relations["classRelations"]
]