Commit bfdd4d9
committed
test: filter list assertions by base_model so fixtures survive real data
test_list_laptops/test_list_monitors asserted the fixture appeared in
the unpaginated first page — which breaks once real laptop/monitor data
fills the list (the fixture is buried past page 1). Filter by the
fixture's unique base_model_slug instead. (Latent since the laptop data
merged; surfaced by this PR running pytest against the full dataset.)1 parent c906d9e commit bfdd4d9
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
0 commit comments