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

Function test_pat005_patch_delete_item

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

Source from the content-addressed store, hash-verified

61
62
63def test_pat005_patch_delete_item():
64 p = Patch()
65
66 del p["delete_me"]
67
68 data = patch_to_dict(p)
69
70 assert data["operations"][0]["operation"] == "Delete"
71 assert data["operations"][0]["location"] == ["delete_me"]
72
73
74def test_pat006_patch_delete_attr():

Callers

nothing calls this directly

Calls 2

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…