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

Method test_run

src/bonsai/test/tool/test_root.py:38–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36
37class TestAddTrackedOpening(NewFile):
38 def test_run(self):
39 obj = bpy.data.objects.new("Object", None)
40 subject.add_tracked_opening(obj, "OPENING")
41 props = tool.Model.get_model_props()
42 assert props.openings[0].obj == obj
43 assert props.openings[0].name == "OPENING"
44
45
46class TestCopyRepresentation(NewFile):

Callers

nothing calls this directly

Calls 3

newMethod · 0.80
get_model_propsMethod · 0.80
add_tracked_openingMethod · 0.45

Tested by

no test coverage detected