@@ -648,10 +648,10 @@ async def test_patch_operations_collection(app_client, ctx):
648648 {"op" : "replace" , "path" : "/summaries/gsd" , "value" : [50 ]},
649649 {
650650 "op" : "move" ,
651- "path" : "/summaries/instruments " ,
652- "from" : "/summaries/instrument " ,
651+ "path" : "/summaries/instrument " ,
652+ "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 (
@@ -711,7 +711,7 @@ async def test_patch_operations_item(app_client, ctx):
711711 {"op" : "remove" , "path" : "/properties/landsat:column" },
712712 {"op" : "replace" , "path" : "/properties/proj:epsg" , "value" : 1000 },
713713 {"op" : "move" , "path" : "/properties/foo" , "from" : "/properties/instrument" },
714- # {"op": "copy", "path": "/properties/bar", "from": "/properties/height"},
714+ {"op" : "copy" , "path" : "/properties/bar" , "from" : "/properties/height" },
715715 ]
716716
717717 resp = await app_client .patch (
@@ -737,7 +737,6 @@ async def test_patch_operations_item(app_client, ctx):
737737 assert new_resp_json ["properties" ]["foo" ] == "OLI_TIRS"
738738 assert new_resp_json ["properties" ]["bar" ] == 2500
739739 assert new_resp_json ["properties" ]["height" ] == 2500
740- assert new_resp_json ["properties" ]["platform" ] == "landsat-8"
741740
742741
743742@pytest .mark .asyncio
0 commit comments