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

Function model_file

src/ifcedit/tests/conftest.py:39–43  ·  view source on GitHub ↗

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

(model, tmp_path)

Source from the content-addressed store, hash-verified

37
38@pytest.fixture
39def model_file(model, tmp_path):
40 """Write the model fixture to a temp file and return the path."""
41 path = tmp_path / "test.ifc"
42 model.write(str(path))
43 return str(path)
44
45
46@pytest.fixture

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected