File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -12,27 +12,27 @@ def patch_to_dict(p):
12
12
13
13
def test_pat001_patch_assign_item ():
14
14
p = Patch ()
15
- p ["item" ] = "item "
15
+ p ["item" ] = "assigned "
16
16
17
17
data = patch_to_dict (p )
18
18
19
19
assert data ["operations" ][0 ] == {
20
20
"operation" : "Assign" ,
21
- "location" : ["item " ],
22
- "params" : {"value" : "item " },
21
+ "location" : ["assigned " ],
22
+ "params" : {"value" : "assigned " },
23
23
}
24
24
25
25
26
26
def test_pat002_patch_assign_attr ():
27
27
p = Patch ()
28
- p .item = "item "
28
+ p .item = "assigned "
29
29
30
30
data = patch_to_dict (p )
31
31
32
32
assert data ["operations" ][0 ] == {
33
33
"operation" : "Assign" ,
34
- "location" : ["item " ],
35
- "params" : {"value" : "item " },
34
+ "location" : ["assigned " ],
35
+ "params" : {"value" : "assigned " },
36
36
}
37
37
38
38
You can’t perform that action at this time.
0 commit comments