We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f67ec9 commit 4573472Copy full SHA for 4573472
tests/api/test_api.py
@@ -548,6 +548,20 @@ async def test_get_collections_search(
548
assert resp.json()["collections"][1]["id"] == load_test_collection["id"]
549
assert resp.json()["collections"][0]["id"] == load_test2_collection.id
550
551
+ # free-text
552
+ resp = await app_client.get(
553
+ "/collections",
554
+ params={"q": "temperature"},
555
+ )
556
+ assert len(resp.json()["collections"]) == 1
557
+ assert resp.json()["collections"][0]["id"] == load_test2_collection.id
558
+
559
560
561
+ params={"q": "nosuchthing"},
562
563
+ assert len(resp.json()["collections"]) == 0
564
565
566
@pytest.mark.asyncio
567
async def test_item_collection_filter_bbox(
0 commit comments