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

Method test_none_panel_not_added

tests/test_uitree_api.py:513–519  ·  view source on GitHub ↗
(self, sut: UITreeAPI, mock_conn: MagicMock)

Source from the content-addressed store, hash-verified

511 assert call_args[0][1]["panel"] == "DockArea:SceneView"
512
513 def test_none_panel_not_added(self, sut: UITreeAPI, mock_conn: MagicMock) -> None:
514 mock_conn.send_request.return_value = {}
515
516 sut.dump(panel=None)
517
518 call_args = mock_conn.send_request.call_args
519 assert "panel" not in call_args[0][1]

Callers

nothing calls this directly

Calls 1

dumpMethod · 0.80

Tested by

no test coverage detected