(self, monkeypatch: pytest.MonkeyPatch, env_value: str, expected: int)
| 41 | ], |
| 42 | ) |
| 43 | def test_valid_env_var(self, monkeypatch: pytest.MonkeyPatch, env_value: str, expected: int) -> None: |
| 44 | monkeypatch.setenv("UNITY_CLI_LOG", env_value) |
| 45 | assert _resolve_log_level(debug_flag=False) == expected |
| 46 | |
| 47 | @pytest.mark.parametrize("env_value", ["INVALID", "BASIC_FORMAT", "Logger", ""]) |
| 48 | def test_invalid_env_var_falls_back(self, monkeypatch: pytest.MonkeyPatch, env_value: str) -> None: |
nothing calls this directly
no test coverage detected