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):
651651 "path" : "/summaries/instrument" ,
652652 "from" : "/summaries/instruments" ,
653653 },
654- # {"op": "copy", "from": "license", "path": "/summaries/license"},
654+ {"op" : "copy" , "from" : "/ license" , "path" : "/summaries/license" },
655655 ]
656656
657657 resp = await app_client .patch (
@@ -675,8 +675,8 @@ async def test_patch_operations_collection(app_client, ctx):
675675 new_resp_json ["summaries" ]["instrument" ]
676676 == ctx .collection ["summaries" ]["instruments" ]
677677 )
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" ]
680680
681681
682682@pytest .mark .asyncio
You can’t perform that action at this time.
0 commit comments