()
| 37 | |
| 38 | |
| 39 | def test_pat003_patch_multi_operations(): |
| 40 | p = Patch() |
| 41 | p.one = 1 |
| 42 | p.two = 2 |
| 43 | |
| 44 | data = patch_to_dict(p) |
| 45 | |
| 46 | assert len(data["operations"]) == 2 |
| 47 | assert data["operations"][0]["location"] == ["one"] |
| 48 | assert data["operations"][1]["location"] == ["two"] |
| 49 | |
| 50 | |
| 51 | def test_pat004_patch_nested_assign(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…