()
| 38 | |
| 39 | |
| 40 | def test_path_array_item() -> None: |
| 41 | path = AccessPath.root().array_item(2) |
| 42 | assert isinstance(path, AccessPath) |
| 43 | steps = path.to_steps() |
| 44 | assert len(steps) == 1 |
| 45 | assert steps[0].kind == AccessKind.ARRAY_ITEM |
| 46 | assert steps[0].key == 2 |
| 47 | assert path.parent == AccessPath.root() |
| 48 | |
| 49 | |
| 50 | def test_path_missing_array_element() -> None: |
nothing calls this directly
no test coverage detected