Skip to content

Commit 8c2212d

Browse files
committed
linting
1 parent 7f20ea3 commit 8c2212d

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

tests/test_cli_estimate_cu.py

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ def test_cli_estimate_cu_tileset_no_sources(mock_request_get, MockResponse):
2020
result = runner.invoke(estimate_cu, [tileset_id])
2121
mock_request_get.assert_called_with(
2222
f"https://api.mapbox.com/tilesets/v1/{tileset_id}/estimate",
23-
params={"filesize": 0, "band_count": 15, "access_token": "pk.eyJ1IjoidGVzdC11c2VyIn0K"},
23+
params={
24+
"filesize": 0,
25+
"band_count": 15,
26+
"access_token": "pk.eyJ1IjoidGVzdC11c2VyIn0K",
27+
},
2428
)
2529

2630
assert result.exit_code == 1
@@ -49,7 +53,11 @@ def test_cli_estimate_cu_tileset_with_sources_raw(
4953
)
5054
mock_request_get.assert_called_with(
5155
f"https://api.mapbox.com/tilesets/v1/{tileset_id}/estimate",
52-
params={"filesize": 0, "band_count": 15, "access_token": "pk.eyJ1IjoidGVzdC11c2VyIn0K"},
56+
params={
57+
"filesize": 0,
58+
"band_count": 15,
59+
"access_token": "pk.eyJ1IjoidGVzdC11c2VyIn0K",
60+
},
5361
)
5462

5563
assert result.exit_code == 0
@@ -73,7 +81,11 @@ def test_cli_estimate_cu_tileset_with_sources(
7381
result = runner.invoke(estimate_cu, [tileset_id, "-s", "/my/sources/*.grib2"])
7482
mock_request_get.assert_called_with(
7583
f"https://api.mapbox.com/tilesets/v1/{tileset_id}/estimate",
76-
params={"filesize": 0, "band_count": 15, "access_token": "pk.eyJ1IjoidGVzdC11c2VyIn0K"},
84+
params={
85+
"filesize": 0,
86+
"band_count": 15,
87+
"access_token": "pk.eyJ1IjoidGVzdC11c2VyIn0K",
88+
},
7789
)
7890

7991
assert result.exit_code == 0

0 commit comments

Comments
 (0)