Skip to content

Commit 6b5664b

Browse files
astanga-csastanga-cs
authored andcommitted
Fix format
1 parent 28119c1 commit 6b5664b

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

tests/test_stac_pagination.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,16 @@
1515
"""Unit tests for the stac pagination."""
1616

1717
import json
18+
19+
import brotli
20+
import httpx
1821
import pytest
1922
from fastapi import FastAPI, Response
2023
from fastapi.testclient import TestClient
21-
from rs_server_common.middlewares import PaginationLinksMiddleware, HandleExceptionsMiddleware
22-
import httpx
23-
import brotli
24+
from rs_server_common.middlewares import (
25+
HandleExceptionsMiddleware,
26+
PaginationLinksMiddleware,
27+
)
2428

2529

2630
@pytest.mark.anyio
@@ -63,10 +67,11 @@ def catalog_search():
6367
data = resp.json()
6468
assert any(l.get("rel") == "first" for l in data.get("links", []))
6569

70+
6671
@pytest.mark.anyio
6772
def test_pagination_links_middleware_handles_malformed_json():
6873
"""
69-
Test case with a malformed JSON
74+
Test case with a malformed JSON
7075
"""
7176
app = FastAPI()
7277
app.add_middleware(HandleExceptionsMiddleware)

0 commit comments

Comments
 (0)