Skip to content

Commit 2b603f3

Browse files
committed
reformatted assert
1 parent 334e707 commit 2b603f3

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

tests/test_wmts.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,10 @@ def test_wmts_gettile(client, get_assets, rio, app):
273273
},
274274
)
275275
assert response.status_code == 200
276-
assert (get_assets.call_args.kwargs.get('search_query').get('datetime') ==
277-
'2023-01-05T00:00:00Z/2023-01-05T23:59:59Z')
276+
assert (
277+
get_assets.call_args.kwargs.get("search_query").get("datetime")
278+
== "2023-01-05T00:00:00Z/2023-01-05T23:59:59Z"
279+
)
278280

279281
response = app.get(
280282
"/wmts",
@@ -293,8 +295,10 @@ def test_wmts_gettile(client, get_assets, rio, app):
293295
},
294296
)
295297
assert response.status_code == 200
296-
assert (get_assets.call_args.kwargs.get('search_query').get('datetime') ==
297-
'2023-01-05T00:00:00Z/2023-01-05T23:59:59Z')
298+
assert (
299+
get_assets.call_args.kwargs.get("search_query").get("datetime")
300+
== "2023-01-05T00:00:00Z/2023-01-05T23:59:59Z"
301+
)
298302

299303

300304
@patch("rio_tiler.io.rasterio.rasterio")

0 commit comments

Comments
 (0)