Commit 1b77d17
test: fix consistent partition window test for urn-based extension API (#166)
## Summary
The `main` CI is red because test collection fails on
`tests/builders/plan/test_consistent_partition_window.py`, which cancels
the
whole test matrix.
The test (added in #158) was written against the older `uri`-based
extension
API, but the codebase has since migrated to `urn`s. Two stale references
remained:
- `register_extension_dict(..., uri=...)`: the `uri` keyword no longer
exists,
causing a `TypeError` at collection time. The URN is now supplied via
the
`urn:` field already present in the test's YAML, so the kwarg is
removed.
- `extension_uris=list(lead_ee.extension_uris)`: this proto field was
renamed to
`extension_urns` (already present on the preceding line). This second
error
was masked by the collection failure.
## Test plan
- `pytest tests/builders/plan/test_consistent_partition_window.py` -> 8
passed
- Full suite -> 231 passed, 3 xfailed
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent cf4e04e commit 1b77d17
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
| 57 | + | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
| |||
106 | 104 | | |
107 | 105 | | |
108 | 106 | | |
109 | | - | |
110 | 107 | | |
111 | 108 | | |
112 | 109 | | |
| |||
0 commit comments