File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -651,7 +651,7 @@ async def test_patch_operations_collection(app_client, ctx):
651
651
"path" : "/summaries/instrument" ,
652
652
"from" : "/summaries/instruments" ,
653
653
},
654
- # {"op": "copy", "from": "license", "path": "/summaries/license"},
654
+ {"op" : "copy" , "from" : "/ license" , "path" : "/summaries/license" },
655
655
]
656
656
657
657
resp = await app_client .patch (
@@ -675,8 +675,8 @@ async def test_patch_operations_collection(app_client, ctx):
675
675
new_resp_json ["summaries" ]["instrument" ]
676
676
== ctx .collection ["summaries" ]["instruments" ]
677
677
)
678
- # assert new_resp_json["license"] == "PDDL-1.0"
679
- # assert new_resp_json["summaries"]["license"] == "PDDL-1.0"
678
+ assert new_resp_json ["license" ] == ctx . collection [ "license" ]
679
+ assert new_resp_json ["summaries" ]["license" ] == ctx . collection [ "license" ]
680
680
681
681
682
682
@pytest .mark .asyncio
You can’t perform that action at this time.
0 commit comments