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

Method test_save_no_model

src/ifcmcp/tests/test_session.py:27–29  ·  view source on GitHub ↗
(self, session)

Source from the content-addressed store, hash-verified

25
26class TestSave:
27 def test_save_no_model(self, session):
28 with pytest.raises(IfcSessionError, match="No model loaded"):
29 session.ifc_save()
30
31 def test_save_overwrites_original(self, session, model_file):
32 session.ifc_load(model_file)

Callers

nothing calls this directly

Calls 1

ifc_saveMethod · 0.80

Tested by

no test coverage detected