code: def test_s3_ssl_verify(tmp_dir, dvc):
      config = Config.from_cwd(validate=False)
      with config.edit() as conf:
          conf["remote"]["remote-name"] = {"url": "s3://bucket/dvc"}
  
      assert "ssl_verify" not in config["remote"]["remote-name"]
  
      with config.edit() as conf:
          section = conf["remote"]["remote-name"]
          section["ssl_verify"] = False
  
      assert (
          tmp_dir / ".dvc" / "config"
      ).read_text() == textwrap.dedent(
          """\
          [core]
              no_scm = True
          ['remote "remote-name"']
              url = s3://bucket/dvc
              ssl_verify = False
          """
      )
  
      with config.edit() as conf:
          section = conf["remote"]["remote-name"]
          section["ssl_verify"] = "/path/to/custom/cabundle.pem"
  
      assert (
          tmp_dir / ".dvc" / "config"
      ).read_text() == textwrap.dedent(
          """\
          [core]
              no_scm = True
          ['remote "remote-name"']
              url = s3://bucket/dvc
              ssl_verify = /path/to/custom/cabundle.pem
          """
      )
  
file_path: dvc/tests/unit/test_config.py
imports: import logging
  import os
  import textwrap
  import pytest
  from dvc.config import Config, ConfigError
  from dvc.fs import LocalFileSystem
label_desc: Use image node_id 5 for calling a global function with example usage: test_s3_ssl_verify(tmp_dir, dvc) without return types