mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
typing
This commit is contained in:
@@ -21,9 +21,17 @@ import pytest
|
||||
import xmlschema
|
||||
import ifcopenshell
|
||||
from ifctester import ids
|
||||
from typing import Optional
|
||||
|
||||
|
||||
def run(name, ids, ifc, expected, applicable_entities=None, failed_entities=None):
|
||||
def run(
|
||||
name: str,
|
||||
ids: ids.Ids,
|
||||
ifc: ifcopenshell.file,
|
||||
expected: bool,
|
||||
applicable_entities: Optional[list[ifcopenshell.entity_instance]] = None,
|
||||
failed_entities: Optional[list[ifcopenshell.entity_instance]] = None,
|
||||
):
|
||||
ids.validate(ifc)
|
||||
all_applicable = set()
|
||||
all_failures = set()
|
||||
|
||||
Reference in New Issue
Block a user