Commit 3b20d43
committed
Harden HF reachability check: verify file download, not just metadata
model_info() can succeed while actual file downloads are blocked by
proxy or firewall. Add a config.json download probe to catch this
case and skip tests cleanly instead of failing with
LocalEntryNotFoundError.1 parent aa3bbf6 commit 3b20d43
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| 62 | + | |
59 | 63 | | |
60 | 64 | | |
61 | 65 | | |
0 commit comments