()
| 11 | |
| 12 | |
| 13 | def test_pat001_patch_assign_item(): |
| 14 | p = Patch() |
| 15 | p["item"] = "assigned" |
| 16 | |
| 17 | data = patch_to_dict(p) |
| 18 | |
| 19 | assert data["operations"][0] == { |
| 20 | "operation": "Assign", |
| 21 | "location": ["item"], |
| 22 | "params": {"value": "assigned"}, |
| 23 | } |
| 24 | |
| 25 | |
| 26 | def test_pat002_patch_assign_attr(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…