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

Function test_pat006_patch_delete_attr

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

Source from the content-addressed store, hash-verified

72
73
74def test_pat006_patch_delete_attr():
75 p = Patch()
76
77 del p.delete_me
78
79 data = patch_to_dict(p)
80
81 assert data["operations"][0]["operation"] == "Delete"
82 assert data["operations"][0]["location"] == ["delete_me"]
83
84
85def test_pat007_patch_append():

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…