We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5d4dd6 commit b1f8e95Copy full SHA for b1f8e95
tests/unit/test_patch.py
@@ -12,27 +12,27 @@ def patch_to_dict(p):
12
13
def test_pat001_patch_assign_item():
14
p = Patch()
15
- p["item"] = "item"
+ p["item"] = "assigned"
16
17
data = patch_to_dict(p)
18
19
assert data["operations"][0] == {
20
"operation": "Assign",
21
- "location": ["item"],
22
- "params": {"value": "item"},
+ "location": ["assigned"],
+ "params": {"value": "assigned"},
23
}
24
25
26
def test_pat002_patch_assign_attr():
27
28
- p.item = "item"
+ p.item = "assigned"
29
30
31
32
33
34
35
36
37
38
0 commit comments