Skip to content

Commit 04a6b01

Browse files
committed
unskip test
2 parents a6eccc2 + 0c6e508 commit 04a6b01

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

stac_fastapi/elasticsearch/tests/resources/test_item.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -649,15 +649,8 @@ async def test_pagination_token_idempotent(app_client, ctx, txn_client):
649649
]
650650

651651

652-
@pytest.mark.skip(reason="fields not implemented")
653-
async def test_field_extension_get_includes(app_client, load_test_data):
652+
async def test_field_extension_get_includes(app_client, ctx):
654653
"""Test GET search with included fields (fields extension)"""
655-
test_item = load_test_data("test_item.json")
656-
resp = await app_client.post(
657-
f"/collections/{test_item['collection']}/items", json=test_item
658-
)
659-
assert resp.status_code == 200
660-
661654
params = {"fields": "+properties.proj:epsg,+properties.gsd"}
662655
resp = await app_client.get("/search", params=params)
663656
feat_properties = resp.json()["features"][0]["properties"]

0 commit comments

Comments
 (0)