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 @@ -645,7 +645,7 @@ async def test_patch_json_collection(app_client, ctx):
645645async def test_patch_operations_collection (app_client , ctx ):
646646 operations = [
647647 {"op" : "add" , "path" : "/summaries/hello" , "value" : "world" },
648- # {"op": "replace", "path": "/summaries/gsd", "value": [50]},
648+ {"op" : "replace" , "path" : "/summaries/gsd" , "value" : [50 ]},
649649 # {
650650 # "op": "move",
651651 # "path": "/summaries/instrument",
@@ -669,8 +669,8 @@ async def test_patch_operations_collection(app_client, ctx):
669669 new_resp_json = new_resp .json ()
670670
671671 assert new_resp_json ["summaries" ]["hello" ] == "world"
672- # assert "instruments" not in new_resp_json["summaries"]
673- # assert new_resp_json["summaries"]["gsd"] == [50]
672+ assert "instruments" not in new_resp_json ["summaries" ]
673+ assert new_resp_json ["summaries" ]["gsd" ] == [50 ]
674674 # assert new_resp_json["license"] == "PDDL-1.0"
675675 # assert new_resp_json["summaries"]["license"] == "PDDL-1.0"
676676 # assert new_resp_json["summaries"]["instrument"] == ["oli", "tirs"]
You can’t perform that action at this time.
0 commit comments