Test load_sync with nonexistent file returns defaults.
(self, tmp_path)
| 201 | assert config.verbose is False |
| 202 | |
| 203 | def test_load_sync_nonexistent(self, tmp_path): |
| 204 | """Test load_sync with nonexistent file returns defaults.""" |
| 205 | config = MCPConfig.load_sync(tmp_path / "nonexistent.json") |
| 206 | assert config.default_provider is not None |
| 207 | |
| 208 | def test_load_sync_valid_file(self, tmp_path): |
| 209 | """Test load_sync with valid file.""" |