File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -423,7 +423,7 @@ def command_pipelines_lint(
423423)
424424@click .option (
425425 "-a" ,
426- "--api_download " ,
426+ "--api-download " ,
427427 is_flag = True ,
428428 default = False ,
429429 help = "Download repos via GitHub API (allows for authentication)." ,
Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ def test_cli_download(self, mock_dl):
174174 "container-cache-utilisation" : "copy" ,
175175 "container-cache-index" : "/path/index.txt" ,
176176 "parallel-downloads" : 2 ,
177+ "api-download" : False ,
177178 }
178179
179180 cmd = ["pipelines" , "download" ] + self .assemble_params (params ) + ["pipeline_name" ]
@@ -195,6 +196,7 @@ def test_cli_download(self, mock_dl):
195196 params ["container-cache-utilisation" ],
196197 params ["container-cache-index" ],
197198 params ["parallel-downloads" ],
199+ params ["api-download" ],
198200 )
199201
200202 mock_dl .return_value .download_workflow .assert_called_once ()
You can’t perform that action at this time.
0 commit comments