MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / library_file

Function library_file

src/ifcedit/tests/conftest.py:59–63  ·  view source on GitHub ↗

Write the library fixture to a temp file and return the path.

(library, tmp_path)

Source from the content-addressed store, hash-verified

57
58@pytest.fixture
59def library_file(library, tmp_path):
60 """Write the library fixture to a temp file and return the path."""
61 path = tmp_path / "library.ifc"
62 library.write(str(path))
63 return str(path)

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected