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

Method test_get_sends_console_command

tests/test_console_api.py:27–33  ·  view source on GitHub ↗

Send 'console' as the command name.

(self, sut: ConsoleAPI, mock_conn: MagicMock)

Source from the content-addressed store, hash-verified

25 """get() メソッドのテスト"""
26
27 def test_get_sends_console_command(self, sut: ConsoleAPI, mock_conn: MagicMock) -> None:
28 """Send 'console' as the command name."""
29 mock_conn.send_request.return_value = {}
30
31 sut.get()
32
33 assert mock_conn.send_request.call_args[0][0] == "console"
34
35 def test_get_sends_read_action_with_defaults(self, sut: ConsoleAPI, mock_conn: MagicMock) -> None:
36 """Send action='read' with format='detailed' and include_stacktrace=False."""

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected