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

Function test_pat011_patch_add

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

Source from the content-addressed store, hash-verified

138
139
140def test_pat011_patch_add():
141 p = Patch()
142 p.plusplus += 1
143
144 data = patch_to_dict(p)
145
146 assert data["operations"][0] == {
147 "operation": "Add",
148 "location": ["plusplus"],
149 "params": {"value": 1},
150 }
151
152
153def test_pat012_patch_sub():

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…