This commit is contained in:
Andrej730
2025-06-18 11:37:20 +05:00
parent 8c5affaae6
commit c68b0c7280
25 changed files with 137 additions and 94 deletions
@@ -31,7 +31,8 @@ class TestValidateGroupTypes:
ifcsystem_classes = set()
for schema_name in get_args(ifcopenshell.util.schema.IFC_SCHEMA):
schema = ifcopenshell.schema_by_name(schema_name)
declaration = schema.declaration_by_name("IfcSystem")
declaration = schema.declaration_by_name("IfcSystem").as_entity()
assert declaration
declarations = ifcopenshell.util.schema.get_subtypes(declaration)
ifcsystem_classes.update(d.name() for d in declarations)