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