MCPcopy
hub / github.com/plotly/dash / test_pat017_patch_clear

Function test_pat017_patch_clear

tests/unit/test_patch.py:217–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

215
216
217def test_pat017_patch_clear():
218 p = Patch()
219
220 p.clear()
221 data = patch_to_dict(p)
222 assert data["operations"][0] == {"operation": "Clear", "location": [], "params": {}}
223
224
225def test_pat018_patch_reverse():

Callers

nothing calls this directly

Calls 3

clearMethod · 0.95
PatchClass · 0.90
patch_to_dictFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…