@@ -35,7 +35,7 @@ def test_successfully_unzip_from_uri(
3535 progressbar_mock .update .assert_called_with (5 )
3636 path_patch .assert_called_with ("layer_zip_path" )
3737 path_mock .unlink .assert_called ()
38- unzip_patch .assert_called_with ("layer_zip_path" , "output_zip_dir" , permission = 0o700 )
38+ unzip_patch .assert_called_with ("layer_zip_path" , "output_zip_dir" , permission = 0o700 , mount_symlinks = False )
3939 os_patch .environ .get .assert_called_with ("AWS_CA_BUNDLE" )
4040
4141 @patch ("samcli.local.lambdafn.remote_files.unzip" )
@@ -68,7 +68,7 @@ def test_not_unlink_file_when_file_doesnt_exist(
6868 progressbar_mock .update .assert_called_with (5 )
6969 path_patch .assert_called_with ("layer_zip_path" )
7070 path_mock .unlink .assert_not_called ()
71- unzip_patch .assert_called_with ("layer_zip_path" , "output_zip_dir" , permission = 0o700 )
71+ unzip_patch .assert_called_with ("layer_zip_path" , "output_zip_dir" , permission = 0o700 , mount_symlinks = False )
7272 os_patch .environ .get .assert_called_with ("AWS_CA_BUNDLE" )
7373
7474 @patch ("samcli.local.lambdafn.remote_files.unzip" )
@@ -101,5 +101,5 @@ def test_unzip_from_uri_reads_AWS_CA_BUNDLE_env_var(
101101 progressbar_mock .update .assert_called_with (5 )
102102 path_patch .assert_called_with ("layer_zip_path" )
103103 path_mock .unlink .assert_called ()
104- unzip_patch .assert_called_with ("layer_zip_path" , "output_zip_dir" , permission = 0o700 )
104+ unzip_patch .assert_called_with ("layer_zip_path" , "output_zip_dir" , permission = 0o700 , mount_symlinks = False )
105105 os_patch .environ .get .assert_called_with ("AWS_CA_BUNDLE" )
0 commit comments