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

Method test_run_with_assemblies

tests/test_tests_api.py:80–87  ·  view source on GitHub ↗

Include assemblies key when assemblies is provided.

(self, sut: TestAPI, mock_conn: MagicMock)

Source from the content-addressed store, hash-verified

78 assert params["categories"] == ["Unit", "Integration"]
79
80 def test_run_with_assemblies(self, sut: TestAPI, mock_conn: MagicMock) -> None:
81 """Include assemblies key when assemblies is provided."""
82 mock_conn.send_request.return_value = {}
83
84 sut.run(assemblies=["Tests.EditMode"])
85
86 params = mock_conn.send_request.call_args[0][1]
87 assert params["assemblies"] == ["Tests.EditMode"]
88
89 def test_run_with_group_pattern(self, sut: TestAPI, mock_conn: MagicMock) -> None:
90 """Include groupPattern key when group_pattern is provided."""

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected