bsdd: fix test_get_class_relations

`classRelations` doesn't exist on `ClassPropertiesContractV1`, probably was just a typo.
This commit is contained in:
Andrej730
2026-07-15 12:26:00 +05:00
parent 6ca8c8ac94
commit a7a7edfd27
+1 -1
View File
@@ -39,7 +39,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"]
]