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

Method test_run

src/bonsai/test/core/test_ifcgit.py:177–183  ·  view source on GitHub ↗
(self, ifcgit, ifc)

Source from the content-addressed store, hash-verified

175
176class TestSwitchRevision:
177 def test_run(self, ifcgit, ifc):
178 ifc.get_path().should_be_called().will_return("path/to/model.ifc")
179 ifcgit.switch_to_revision_item().should_be_called()
180 ifcgit.load_project("path/to/model.ifc").should_be_called()
181 ifcgit.refresh_revision_list("path/to/model.ifc").should_be_called()
182 ifcgit.decolourise().should_be_called()
183 subject.switch_revision(ifcgit, ifc)
184
185
186class TestMergeBranch:

Callers

nothing calls this directly

Calls 7

will_returnMethod · 0.80
should_be_calledMethod · 0.80
get_pathMethod · 0.45
load_projectMethod · 0.45
refresh_revision_listMethod · 0.45
decolouriseMethod · 0.45

Tested by

no test coverage detected