Skip to content

Commit 4da517d

Browse files
astanga-csastanga-cs
authored andcommitted
Fix another format
1 parent 6b5664b commit 4da517d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_stac_pagination.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ def catalog_search():
5151
transport = httpx.ASGITransport(app=app)
5252
async with httpx.AsyncClient(transport=transport, base_url="http://test") as client:
5353
if use_br:
54-
#'encoding == "br"' + if path == "/catalog/search" (sets auth:refs).
5554
# checks if the headers were kept
5655
async with client.stream("POST", "/catalog/search", json={"limit": 1}) as resp:
5756
assert resp.status_code == 200
@@ -65,7 +64,7 @@ def catalog_search():
6564

6665
# checks if 'first' was added when there is 'previous'
6766
data = resp.json()
68-
assert any(l.get("rel") == "first" for l in data.get("links", []))
67+
assert any(rel.get("rel") == "first" for rel in data.get("links", []))
6968

7069

7170
@pytest.mark.anyio

0 commit comments

Comments
 (0)