@@ -20,7 +20,7 @@ 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 = {"band_count" : 15 , "access_token" : "pk.eyJ1IjoidGVzdC11c2VyIn0K" },
23+ params = {"filesize" : 0 , " band_count" : 15 , "access_token" : "pk.eyJ1IjoidGVzdC11c2VyIn0K" },
2424 )
2525
2626 assert result .exit_code == 1
@@ -49,7 +49,7 @@ def test_cli_estimate_cu_tileset_with_sources_raw(
4949 )
5050 mock_request_get .assert_called_with (
5151 f"https://api.mapbox.com/tilesets/v1/{ tileset_id } /estimate" ,
52- params = {"band_count" : 15 , "access_token" : "pk.eyJ1IjoidGVzdC11c2VyIn0K" },
52+ params = {"filesize" : 0 , " band_count" : 15 , "access_token" : "pk.eyJ1IjoidGVzdC11c2VyIn0K" },
5353 )
5454
5555 assert result .exit_code == 0
@@ -73,7 +73,7 @@ def test_cli_estimate_cu_tileset_with_sources(
7373 result = runner .invoke (estimate_cu , [tileset_id , "-s" , "/my/sources/*.grib2" ])
7474 mock_request_get .assert_called_with (
7575 f"https://api.mapbox.com/tilesets/v1/{ tileset_id } /estimate" ,
76- params = {"band_count" : 15 , "access_token" : "pk.eyJ1IjoidGVzdC11c2VyIn0K" },
76+ params = {"filesize" : 0 , " band_count" : 15 , "access_token" : "pk.eyJ1IjoidGVzdC11c2VyIn0K" },
7777 )
7878
7979 assert result .exit_code == 0
0 commit comments