Repository navigation
Commit 823e4f3
fix(tests): don't require the BIRD dataset to be downloaded
Three of the new slice tests read the real `dev_tables.json`, which is fetched by
`scripts/download_data.py` and is not in the repo — so they passed locally and
failed the CI `test` job with FileNotFoundError. The dataset-independent halves
(parsing a tables.json, rejecting an unknown db_id) now run against a synthetic
file and cover the logic everywhere; the two that genuinely assert a property of
BIRD's *data* — the real table list, and the global uniqueness of table names the
slice depends on — skip when the dataset is absent, the same way the live-Postgres
proofs skip without a DSN.
Verified both ways: with the dataset 11 pass, with it hidden 9 pass + 2 skip.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 55b90ab commit 823e4f3
1 file changed
Lines changed: 38 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
175 | 205 | | |
176 | 206 | | |
177 | 207 | | |
| |||
187 | 217 | | |
188 | 218 | | |
189 | 219 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | 220 | | |
196 | 221 | | |
197 | 222 | | |
| |||
214 | 239 | | |
215 | 240 | | |
216 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
217 | 246 | | |
218 | 247 | | |
219 | 248 | | |
220 | 249 | | |
221 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
222 | 254 | | |
223 | | - | |
224 | | - | |
225 | | - | |
| 255 | + | |
226 | 256 | | |
227 | 257 | | |
228 | 258 | | |
| |||
0 commit comments