(tmp_path)
| 51 | |
| 52 | |
| 53 | def test_load_overrides_defaults(tmp_path): |
| 54 | config_path = tmp_path / "config.yaml" |
| 55 | save_config(config_path, {"model": "claude-3", "pageindex_threshold": 100}) |
| 56 | loaded = load_config(config_path) |
| 57 | assert loaded["model"] == "claude-3" |
| 58 | assert loaded["pageindex_threshold"] == 100 |
| 59 | # Non-overridden defaults still present |
| 60 | assert loaded["language"] == "en" |
| 61 | |
| 62 | |
| 63 | # --- extra_headers ----------------------------------------------------------- |
nothing calls this directly
no test coverage detected