File tree Expand file tree Collapse file tree 2 files changed +6
-14
lines changed
Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -548,20 +548,6 @@ async def test_get_collections_search(
548548 assert resp .json ()["collections" ][1 ]["id" ] == load_test_collection ["id" ]
549549 assert resp .json ()["collections" ][0 ]["id" ] == load_test2_collection .id
550550
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- resp = await app_client .get (
560- "/collections" ,
561- params = {"q" : "nosuchthing" },
562- )
563- assert len (resp .json ()["collections" ]) == 0
564-
565551
566552@pytest .mark .asyncio
567553async def test_item_collection_filter_bbox (
Original file line number Diff line number Diff line change @@ -320,6 +320,12 @@ async def test_collection_search_freetext(
320320 assert len (resp .json ()["collections" ]) == 1
321321 assert resp .json ()["collections" ][0 ]["id" ] == load_test2_collection .id
322322
323+ resp = await app_client .get (
324+ "/collections" ,
325+ params = {"q" : "nosuchthing" },
326+ )
327+ assert len (resp .json ()["collections" ]) == 0
328+
323329
324330@requires_pgstac_0_9_2
325331@pytest .mark .asyncio
You can’t perform that action at this time.
0 commit comments