Write the model fixture to a temp file and return the path.
(model, tmp_path)
| 45 | |
| 46 | @pytest.fixture |
| 47 | def model_file(model, tmp_path): |
| 48 | """Write the model fixture to a temp file and return the path.""" |
| 49 | path = tmp_path / "test.ifc" |
| 50 | model.write(str(path)) |
| 51 | return str(path) |
| 52 | |
| 53 | |
| 54 | @pytest.fixture |