Test _get_tool_bool from environment.
(self, base_config, monkeypatch)
| 238 | assert tools == ["cli_tool"] |
| 239 | |
| 240 | def test_get_tool_bool_from_env(self, base_config, monkeypatch): |
| 241 | """Test _get_tool_bool from environment.""" |
| 242 | monkeypatch.setenv("MCP_CLI_DYNAMIC_TOOLS", "true") |
| 243 | |
| 244 | rc = RuntimeConfig(base_config) |
| 245 | result = rc._get_tool_bool("dynamic_tools_enabled") |
| 246 | assert result is True |
| 247 | |
| 248 | def test_get_tool_bool_from_cli(self, base_config): |
| 249 | """Test _get_tool_bool from CLI overrides.""" |
nothing calls this directly
no test coverage detected