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

Function test_pat008_patch_prepend

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

Source from the content-addressed store, hash-verified

95
96
97def test_pat008_patch_prepend():
98 p = Patch()
99 p.prepend("item")
100 data = patch_to_dict(p)
101
102 assert data["operations"][0] == {
103 "operation": "Prepend",
104 "location": [],
105 "params": {"value": "item"},
106 }
107
108
109def test_pat009_patch_extend():

Callers

nothing calls this directly

Calls 3

prependMethod · 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…