(self)
| 37 | assert resolve_output_mode(pretty_flag=False) is OutputMode.PLAIN |
| 38 | |
| 39 | def test_env_unity_cli_json(self) -> None: |
| 40 | with patch.dict(os.environ, {"UNITY_CLI_JSON": "1"}, clear=False): |
| 41 | assert resolve_output_mode() is OutputMode.JSON |
| 42 | |
| 43 | def test_env_unity_cli_json_zero_ignored(self) -> None: |
| 44 | env = {k: v for k, v in os.environ.items() if k not in ("UNITY_CLI_JSON", "UNITY_CLI_NO_PRETTY", "NO_COLOR")} |
nothing calls this directly
no test coverage detected