Test get_config module function.
(self, tmp_path)
| 402 | """Test module-level helper functions.""" |
| 403 | |
| 404 | def test_get_config_function(self, tmp_path): |
| 405 | """Test get_config module function.""" |
| 406 | config_file = tmp_path / "config.json" |
| 407 | config_file.write_text(json.dumps({"mcpServers": {}})) |
| 408 | |
| 409 | # Reset and initialize |
| 410 | manager = ConfigManager() |
| 411 | manager.reset() |
| 412 | initialize_config(config_file) |
| 413 | |
| 414 | config = get_config() |
| 415 | assert config is not None |
| 416 | |
| 417 | def test_initialize_config_function(self, tmp_path): |
| 418 | """Test initialize_config module function.""" |
nothing calls this directly
no test coverage detected