(self, tmp_path)
| 161 | # -- Negative: validation errors -- |
| 162 | |
| 163 | def test_invalid_json_raises(self, tmp_path): |
| 164 | cfg = tmp_path / "auth.json" |
| 165 | cfg.write_text("not json") |
| 166 | with pytest.raises(json.JSONDecodeError): |
| 167 | load_auth_config(cfg) |
| 168 | |
| 169 | def test_not_object_raises(self, tmp_path): |
| 170 | cfg = tmp_path / "auth.json" |
nothing calls this directly
no test coverage detected