set_plugin_search_paths() inside test as well

This commit is contained in:
Thomas Krijnen
2026-05-07 20:58:45 +02:00
parent 2c7d25cffc
commit 609b6959bc
+2
View File
@@ -14,6 +14,8 @@ def test_ifcopenshell_import(selenium):
import micropip
await micropip.install(f"./{WHEEL_FILENAME}")
import ifcopenshell
from pathlib import Path
ifcopenshell.set_plugin_search_paths([str(Path(ifcopenshell.__file__).parent)])
ifc_file = ifcopenshell.file()
wall = ifc_file.create_entity("IfcWall")
wall1 = ifc_file.by_type("IfcWall")[0]