()
| 24 | |
| 25 | |
| 26 | def test_pat002_patch_assign_attr(): |
| 27 | p = Patch() |
| 28 | p.item = "assigned" |
| 29 | |
| 30 | data = patch_to_dict(p) |
| 31 | |
| 32 | assert data["operations"][0] == { |
| 33 | "operation": "Assign", |
| 34 | "location": ["item"], |
| 35 | "params": {"value": "assigned"}, |
| 36 | } |
| 37 | |
| 38 | |
| 39 | def test_pat003_patch_multi_operations(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…