()
| 49 | |
| 50 | |
| 51 | def test_pat004_patch_nested_assign(): |
| 52 | p = Patch() |
| 53 | |
| 54 | p["nest_item"]["nested"]["deep"] = "deep" |
| 55 | p.nest_attr.nested.deep = "deep" |
| 56 | |
| 57 | data = patch_to_dict(p) |
| 58 | |
| 59 | assert data["operations"][0]["location"] == ["nest_item", "nested", "deep"] |
| 60 | assert data["operations"][1]["location"] == ["nest_attr", "nested", "deep"] |
| 61 | |
| 62 | |
| 63 | def test_pat005_patch_delete_item(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…