From a1b4effc2eaedc1884efa9e35d7875798cb1809a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 05:59:47 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/streaming/test_downloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/streaming/test_downloader.py b/tests/streaming/test_downloader.py index 7a835a5f..84170840 100644 --- a/tests/streaming/test_downloader.py +++ b/tests/streaming/test_downloader.py @@ -37,7 +37,7 @@ def test_s3_downloader_with_s5cmd_no_storage_options(popen_mock, system_mock, tm downloader.download_file(remote_filepath, local_filepath) # Assertion: Verify subprocess.Popen was called with correct arguments and no env variables - popen_mock.assert_called_once_with( # noqa: S604 + popen_mock.assert_called_once_with( f"s5cmd cp {remote_filepath} {local_filepath}", shell=True, stdout=subprocess.PIPE, @@ -68,7 +68,7 @@ def test_s3_downloader_with_s5cmd_with_storage_options(popen_mock, system_mock, expected_env.update(storage_options) # Assertion: Verify subprocess.Popen was called with the correct arguments and environment variables - popen_mock.assert_called_once_with( # noqa: S604 + popen_mock.assert_called_once_with( f"s5cmd cp {remote_filepath} {local_filepath}", shell=True, stdout=subprocess.PIPE,