()
| 83 | |
| 84 | |
| 85 | def test_pat007_patch_append(): |
| 86 | p = Patch() |
| 87 | p.append("item") |
| 88 | data = patch_to_dict(p) |
| 89 | |
| 90 | assert data["operations"][0] == { |
| 91 | "operation": "Append", |
| 92 | "location": [], |
| 93 | "params": {"value": "item"}, |
| 94 | } |
| 95 | |
| 96 | |
| 97 | def test_pat008_patch_prepend(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…