MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / test_load_default_not_additive

Method test_load_default_not_additive

tests/test_scene_api.py:136–143  ·  view source on GitHub ↗

Default additive is False.

(self, sut: SceneAPI, mock_conn: MagicMock)

Source from the content-addressed store, hash-verified

134 assert params["additive"] is True
135
136 def test_load_default_not_additive(self, sut: SceneAPI, mock_conn: MagicMock) -> None:
137 """Default additive is False."""
138 mock_conn.send_request.return_value = {}
139
140 sut.load(name="Main")
141
142 params = mock_conn.send_request.call_args[0][1]
143 assert params["additive"] is False
144
145 def test_load_without_name_excludes_name_key(self, sut: SceneAPI, mock_conn: MagicMock) -> None:
146 """Exclude name key when name is not provided."""

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected