Skip to content

Commit

Permalink
Fix references to removed async_client_per_function
Browse files Browse the repository at this point in the history
  • Loading branch information
dmannarino committed Apr 15, 2024
1 parent 638a97c commit 0b19c46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests_v2/unit/app/routes/analysis/test_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async def test_raster_analysis_payload_shape(
no_data_value = 0

async with custom_raster_version(
async_client_per_function,
async_client,
dataset_name,
monkeypatch,
pixel_meaning=pixel_meaning,
Expand All @@ -109,7 +109,7 @@ async def test_raster_analysis_payload_shape(
# The other tests will have polluted the data env cache. Clear it.
queries._get_data_environment.cache_clear()

_ = await async_client_per_function.get(
_ = await async_client.get(
f"/analysis/zonal/17076d5ea9f214a5bdb68cc40433addb?geostore_origin=rw&group_by=umd_tree_cover_loss__year&filters=is__umd_regional_primary_forest_2001&filters=umd_tree_cover_density_2000__30&sum=area__ha&start_date=2001"
)
payload = mock_invoke_lambda.call_args.args[1]
Expand Down

0 comments on commit 0b19c46

Please sign in to comment.