replace api.run with static methods

This commit is contained in:
Andrej
2025-06-09 10:59:22 +05:00
parent 02d359d0e6
commit 8b4683aef1
122 changed files with 1334 additions and 1370 deletions
+1
View File
@@ -36,5 +36,6 @@ class TestRunMigratePatch(NewFile):
infile = os.path.join(cwd, "..", "files", "ifc2x3.ifc")
outfile = os.path.join(cwd, "..", "files", "temp", "ifc2x3-migrated.ifc")
subject.run_migrate_patch(infile, outfile, "IFC4")
ifc: ifcopenshell.file
ifc = ifcopenshell.open(outfile)
assert ifc.schema == "IFC4"