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

Function test_pat009_patch_extend

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

Source from the content-addressed store, hash-verified

107
108
109def test_pat009_patch_extend():
110 p = Patch()
111 p.extend(["extend"])
112 data = patch_to_dict(p)
113
114 assert data["operations"][0] == {
115 "operation": "Extend",
116 "location": [],
117 "params": {"value": ["extend"]},
118 }
119
120
121def test_pat010_patch_merge():

Callers

nothing calls this directly

Calls 3

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