(self)
| 57 | assert resolve_output_mode() is OutputMode.PLAIN |
| 58 | |
| 59 | def test_env_unity_cli_no_pretty(self) -> None: |
| 60 | env = {k: v for k, v in os.environ.items() if k not in ("UNITY_CLI_JSON", "UNITY_CLI_NO_PRETTY", "NO_COLOR")} |
| 61 | with patch.dict(os.environ, {**env, "UNITY_CLI_NO_PRETTY": "1"}, clear=True): |
| 62 | assert resolve_output_mode() is OutputMode.PLAIN |
| 63 | |
| 64 | def test_env_no_color(self) -> None: |
| 65 | 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