()
| 68 | |
| 69 | |
| 70 | def test_path_missing_map_item() -> None: |
| 71 | path = AccessPath.root().map_item_missing("foo") |
| 72 | assert isinstance(path, AccessPath) |
| 73 | steps = path.to_steps() |
| 74 | assert len(steps) == 1 |
| 75 | assert steps[0].kind == AccessKind.MAP_ITEM_MISSING |
| 76 | assert steps[0].key == "foo" |
| 77 | assert path.parent == AccessPath.root() |
| 78 | |
| 79 | |
| 80 | def test_path_is_prefix_of() -> None: |
nothing calls this directly
no test coverage detected