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

Function test_pat012_patch_sub

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

Source from the content-addressed store, hash-verified

151
152
153def test_pat012_patch_sub():
154 p = Patch()
155 p.minusless -= 1
156
157 data = patch_to_dict(p)
158
159 assert data["operations"][0] == {
160 "operation": "Sub",
161 "location": ["minusless"],
162 "params": {"value": 1},
163 }
164
165
166def test_pat013_patch_mul():

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…