()
| 48 | |
| 49 | |
| 50 | def test_path_missing_array_element() -> None: |
| 51 | path = AccessPath.root().array_item_missing(2) |
| 52 | assert isinstance(path, AccessPath) |
| 53 | steps = path.to_steps() |
| 54 | assert len(steps) == 1 |
| 55 | assert steps[0].kind == AccessKind.ARRAY_ITEM_MISSING |
| 56 | assert steps[0].key == 2 |
| 57 | assert path.parent == AccessPath.root() |
| 58 | |
| 59 | |
| 60 | def test_path_map_item() -> None: |
nothing calls this directly
no test coverage detected