From 19f6caf98da0eb8150d17a4378060e720ab08a18 Mon Sep 17 00:00:00 2001 From: James Date: Sat, 23 Nov 2024 21:49:38 -0500 Subject: [PATCH] re-add ctx --- stac_fastapi/tests/extensions/test_aggregation.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stac_fastapi/tests/extensions/test_aggregation.py b/stac_fastapi/tests/extensions/test_aggregation.py index 705eaa81..f8c04a70 100644 --- a/stac_fastapi/tests/extensions/test_aggregation.py +++ b/stac_fastapi/tests/extensions/test_aggregation.py @@ -461,7 +461,7 @@ async def test_post_aggregate_datetime_min(app_client): @pytest.mark.asyncio -async def test_get_aggregate_datetime_frequency(app_client): +async def test_get_aggregate_datetime_frequency(app_client, ctx): resp = await app_client.get("/aggregate?aggregations=datetime_frequency") @@ -474,7 +474,7 @@ async def test_get_aggregate_datetime_frequency(app_client): @pytest.mark.asyncio -async def test_post_aggregate_datetime_frequency(app_client): +async def test_post_aggregate_datetime_frequency(app_client, ctx): params = { "aggregations": ["datetime_frequency"], @@ -491,7 +491,7 @@ async def test_post_aggregate_datetime_frequency(app_client): @pytest.mark.asyncio -async def test_get_aggregate_collection_frequency(app_client): +async def test_get_aggregate_collection_frequency(app_client, ctx): resp = await app_client.get("/aggregate?aggregations=collection_frequency") @@ -501,7 +501,7 @@ async def test_get_aggregate_collection_frequency(app_client): @pytest.mark.asyncio -async def test_post_aggregate_collection_frequency(app_client): +async def test_post_aggregate_collection_frequency(app_client, ctx): params = { "aggregations": ["collection_frequency"],