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

Function test_save_keep_open

src/bcf/tests/v3/test_bcf_xml.py:90–96  ·  view source on GitHub ↗
(build_sample)

Source from the content-addressed store, hash-verified

88
89
90def test_save_keep_open(build_sample) -> None:
91 bcf, _ = build_sample
92 with TemporaryDirectory() as tmp_dir:
93 file_path = Path(tmp_dir) / "test.bcf"
94 bcf.save(file_path, keep_open=True)
95 assert bcf._zip_file is not None
96 bcf._zip_file.close()
97
98
99def test_massive_bcf(xml_handler) -> None:

Callers

nothing calls this directly

Calls 2

saveMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected