Skip to content

Commit 0231025

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ee9859c commit 0231025

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/test_backend_flightcontroller_params.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,9 +1229,7 @@ def progress_callback(current: int, total: int) -> None:
12291229
mock_mavftp.process_ftp_reply.return_value = mock_ftp_reply
12301230
mock_mavftp_factory.return_value = mock_mavftp
12311231

1232-
_result_params, _result_defaults = params_mgr._download_params_via_mavftp(
1233-
progress_callback=progress_callback
1234-
)
1232+
_result_params, _result_defaults = params_mgr._download_params_via_mavftp(progress_callback=progress_callback)
12351233

12361234
# The inner callback should be set up to call the outer progress_callback
12371235
# We verify by calling cmd_getparams with the inner callback

0 commit comments

Comments
 (0)