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

Method test_get_with_simple_format

tests/test_console_api.py:100–107  ·  view source on GitHub ↗

Send format='simple' when specified.

(self, sut: ConsoleAPI, mock_conn: MagicMock)

Source from the content-addressed store, hash-verified

98 assert params["include_stacktrace"] is True
99
100 def test_get_with_simple_format(self, sut: ConsoleAPI, mock_conn: MagicMock) -> None:
101 """Send format='simple' when specified."""
102 mock_conn.send_request.return_value = {}
103
104 sut.get(format="simple")
105
106 params = mock_conn.send_request.call_args[0][1]
107 assert params["format"] == "simple"
108
109
110class TestClear:

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected