From aa6f93e157692cad810223731aa9a6859d73f3b6 Mon Sep 17 00:00:00 2001 From: asonnenschein Date: Mon, 25 Nov 2024 14:43:10 -0500 Subject: [PATCH] fix lint error --- tests/integration/test_data_api.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/integration/test_data_api.py b/tests/integration/test_data_api.py index f177dd24..f1fb87cc 100644 --- a/tests/integration/test_data_api.py +++ b/tests/integration/test_data_api.py @@ -207,8 +207,8 @@ async def test_search_geometry(geom_fixture, cl = DataClient(session, base_url=TEST_URL) geom = request.getfixturevalue(geom_fixture) items_list = [ - i async for i in cl.search( - ['PSScene'], name='quick_search', geometry=geom) + i async for i in cl.search(['PSScene'], name='quick_search', + geometry=geom) ] # check that request is correct expected_request = { @@ -355,8 +355,8 @@ async def test_search_sort(item_descriptions, # run through the iterator to actually initiate the call [ - i async for i in cl.search( - ['PSScene'], search_filter=search_filter, sort=sort) + i async for i in cl.search(['PSScene'], search_filter=search_filter, + sort=sort) ] @@ -378,8 +378,8 @@ async def test_search_limit(item_descriptions, cl = DataClient(session, base_url=TEST_URL) items_list = [ - i async for i in cl.search( - ['PSScene'], search_filter=search_filter, limit=2) + i async for i in cl.search(['PSScene'], search_filter=search_filter, + limit=2) ] # check only the first two results were returned