(self, tmp_path)
| 179 | load_auth_config(cfg) |
| 180 | |
| 181 | def test_empty_hosts_raises(self, tmp_path): |
| 182 | cfg = tmp_path / "auth.json" |
| 183 | cfg.write_text(json.dumps({ |
| 184 | "providers": [{"hosts": [], "provider": "github", "auth": "bearer", "token_env": "X"}] |
| 185 | })) |
| 186 | with pytest.raises(ValueError, match="non-empty"): |
| 187 | load_auth_config(cfg) |
| 188 | |
| 189 | def test_missing_provider_key_raises(self, tmp_path): |
| 190 | cfg = tmp_path / "auth.json" |
nothing calls this directly
no test coverage detected