Commit 844c754
committed
test: align Home Run Derby live test with strict HTTP behavior
Update the invalid game ID test to expect MlbHttpError for the
live API's 400 response instead of treating it as a 404 result.
Also close the shared Mlb client during test cleanup.1 parent 0cf6c56 commit 844c754
5 files changed
Lines changed: 346 additions & 429 deletions
File tree
- docs
- tests/external_tests/homerunderby
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
0 commit comments