code: def test_download(sagemaker_session):
      s3_uri = os.path.join(
          "s3://", BUCKET_NAME, CURRENT_JOB_NAME, SOURCE_NAME
      )
      s3.S3Downloader.download(
          s3_uri=s3_uri,
          local_path="/path/for/download/",
          sagemaker_session=sagemaker_session,
      )
      sagemaker_session.download_data.assert_called_with(
          path="/path/for/download/",
          bucket=BUCKET_NAME,
          key_prefix=os.path.join(CURRENT_JOB_NAME, SOURCE_NAME),
          extra_args=None,
      )
  
file_path: sagemaker-python-sdk/tests/unit/test_s3.py
imports: from __future__ import absolute_import
  import os
  import pytest
  from mock import Mock
  from sagemaker import s3
label_desc: Use image node_id 4 for calling a global function with example usage: test_download(sagemaker_session) without return types