Skip to content

Commit dc9db54

Browse files
committed
Remove bad operations.
1 parent 24b319b commit dc9db54

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

stac_fastapi/tests/api/test_api.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -646,12 +646,12 @@ async def test_patch_operations_collection(app_client, ctx):
646646
operations = [
647647
{"op": "add", "path": "/summaries/hello", "value": "world"},
648648
{"op": "replace", "path": "/summaries/gsd", "value": [50]},
649-
{
650-
"op": "move",
651-
"path": "/summaries/instruments",
652-
"from": "/summaries/instrument",
653-
},
654-
{"op": "copy", "from": "license", "path": "/summaries/license"},
649+
# {
650+
# "op": "move",
651+
# "path": "/summaries/instruments",
652+
# "from": "/summaries/instrument",
653+
# },
654+
# {"op": "copy", "from": "license", "path": "/summaries/license"},
655655
]
656656

657657
resp = await app_client.patch(
@@ -710,8 +710,8 @@ async def test_patch_json_item(app_client, ctx):
710710
async def test_patch_operations_item(app_client, ctx):
711711
operations = [
712712
{"op": "add", "path": "/properties/hello", "value": "world"},
713-
# {"op": "remove", "path": "/properties/landsat:column"},
714-
# {"op": "replace", "path": "/properties/proj:epsg", "value": 1000},
713+
{"op": "remove", "path": "/properties/landsat:column"},
714+
{"op": "replace", "path": "/properties/proj:epsg", "value": 1000},
715715
# {"op": "move", "path": "/properties/foo", "from": "/properties/instrument"},
716716
# {"op": "copy", "path": "/properties/bar", "from": "/properties/height"},
717717
]

0 commit comments

Comments
 (0)