@@ -36,7 +36,7 @@ def test_successfully_unzip_from_uri(
3636 path_patch .assert_called_with ("layer_zip_path" )
3737 path_mock .unlink .assert_called ()
3838 unzip_patch .assert_called_with ("layer_zip_path" , "output_zip_dir" , permission = 0o700 )
39- os_patch .environ .get .assert_called_with ("AWS_CA_BUNDLE" , True )
39+ os_patch .environ .get .assert_called_with ("AWS_CA_BUNDLE" )
4040
4141 @patch ("samcli.local.lambdafn.remote_files.unzip" )
4242 @patch ("samcli.local.lambdafn.remote_files.Path" )
@@ -69,7 +69,7 @@ def test_not_unlink_file_when_file_doesnt_exist(
6969 path_patch .assert_called_with ("layer_zip_path" )
7070 path_mock .unlink .assert_not_called ()
7171 unzip_patch .assert_called_with ("layer_zip_path" , "output_zip_dir" , permission = 0o700 )
72- os_patch .environ .get .assert_called_with ("AWS_CA_BUNDLE" , True )
72+ os_patch .environ .get .assert_called_with ("AWS_CA_BUNDLE" )
7373
7474 @patch ("samcli.local.lambdafn.remote_files.unzip" )
7575 @patch ("samcli.local.lambdafn.remote_files.Path" )
@@ -102,4 +102,4 @@ def test_unzip_from_uri_reads_AWS_CA_BUNDLE_env_var(
102102 path_patch .assert_called_with ("layer_zip_path" )
103103 path_mock .unlink .assert_called ()
104104 unzip_patch .assert_called_with ("layer_zip_path" , "output_zip_dir" , permission = 0o700 )
105- os_patch .environ .get .assert_called_with ("AWS_CA_BUNDLE" , True )
105+ os_patch .environ .get .assert_called_with ("AWS_CA_BUNDLE" )
0 commit comments