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

Method _ifc_path

src/ifcquery/tests/test_plot.py:214–218  ·  view source on GitHub ↗
(model)

Source from the content-addressed store, hash-verified

212class TestCLI:
213 @staticmethod
214 def _ifc_path(model):
215 f = tempfile.NamedTemporaryFile(suffix=".ifc", delete=False)
216 model.write(f.name)
217 f.close()
218 return f.name
219
220 def test_plot_svg_writes_file(self, model_with_annotations):
221 model, _ = model_with_annotations

Callers 2

Calls 2

writeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected