@@ -179,7 +179,7 @@ async def test_aggregate_datetime_in_range(app_client, ctx):
179179async def test_aggregate_filter_extension_eq_post (app_client , ctx ):
180180 params = {
181181 "filter" : {"op" : "=" , "args" : [{"property" : "id" }, ctx .item ["id" ]]},
182- "filter_lang " : "cql2-json" ,
182+ "filter-lang " : "cql2-json" ,
183183 "aggregations" : ["total_count" ],
184184 }
185185 resp = await app_client .post ("/aggregate" , json = params )
@@ -191,7 +191,7 @@ async def test_aggregate_filter_extension_eq_post(app_client, ctx):
191191async def test_aggregate_filter_extension_neq_post (app_client , ctx ):
192192 params = {
193193 "filter" : {"op" : "<>" , "args" : [{"property" : "id" }, ctx .item ["id" ]]},
194- "filter_lang " : "cql2-json" ,
194+ "filter-lang " : "cql2-json" ,
195195 "aggregations" : ["total_count" ],
196196 "collections" : [ctx .item ["collection" ]],
197197 }
@@ -229,7 +229,7 @@ async def test_aggregate_filter_extension_gte_post(app_client, ctx):
229229 ctx .item ["properties" ]["proj:epsg" ],
230230 ],
231231 },
232- "filter_lang " : "cql2-json" ,
232+ "filter-lang " : "cql2-json" ,
233233 "aggregations" : ["total_count" ],
234234 }
235235 resp = await app_client .post ("/aggregate" , json = params )
@@ -245,7 +245,7 @@ async def test_aggregate_filter_extension_gte_post(app_client, ctx):
245245 ctx .item ["properties" ]["proj:epsg" ],
246246 ],
247247 },
248- "filter_lang " : "cql2-json" ,
248+ "filter-lang " : "cql2-json" ,
249249 "aggregations" : ["total_count" ],
250250 }
251251 resp = await app_client .post ("/aggregate" , json = params )
@@ -291,7 +291,7 @@ async def test_search_aggregate_extension_wildcard_cql2(app_client, ctx):
291291 },
292292 ],
293293 },
294- "filter_lang " : "cql2-json" ,
294+ "filter-lang " : "cql2-json" ,
295295 "aggregations" : ["total_count" ],
296296 }
297297
@@ -327,7 +327,7 @@ async def test_aggregate_filter_extension_wildcard_es(app_client, ctx):
327327 },
328328 ],
329329 },
330- "filter_lang " : "cql2-json" ,
330+ "filter-lang " : "cql2-json" ,
331331 "aggregations" : ["total_count" ],
332332 }
333333
@@ -383,7 +383,7 @@ async def test_aggregate_filter_extension_in_no_list(app_client, ctx):
383383 },
384384 ],
385385 },
386- "filter_lang " : "cql2-json" ,
386+ "filter-lang " : "cql2-json" ,
387387 "aggregations" : ["total_count" ],
388388 }
389389
0 commit comments