(self, tmp_path)
| 226 | assert s.effort == "high" |
| 227 | |
| 228 | def test_extra_overrides(self, tmp_path): |
| 229 | from src.config import ConfigManager |
| 230 | with patch("src.config.get_global_config_path", return_value=tmp_path / "missing.json"), \ |
| 231 | patch("src.config.get_project_config_path", return_value=None), \ |
| 232 | patch("src.config.get_local_config_path", return_value=None): |
| 233 | invalidate_settings_cache() |
| 234 | mgr = ConfigManager(cwd=tmp_path) |
| 235 | s = load_settings(config_manager=mgr, extra_overrides={"fast_mode": True}) |
| 236 | assert s.fast_mode is True |
| 237 | |
| 238 | |
| 239 | import os |
nothing calls this directly
no test coverage detected