code: def test_remotes(tmp_dir, dvc, caplog):
      tmp_dir.add_remote(
          name="server", url="ssh://localhost", default=False
      )
      tmp_dir.add_remote(
          name="r1", url="azure://example.com/path", default=False
      )
      tmp_dir.add_remote(
          name="r2", url="remote://server/path", default=False
      )
  
      dvc_info = get_dvc_info()
  
      assert re.search("Remotes: (ssh, azure|azure, ssh)", dvc_info)
  
file_path: dvc/tests/unit/test_info.py
imports: import os
  import re
  import shutil
  import pytest
  from dvc.info import SUBPROJECTS, get_dvc_info
label_desc: Use image node_id 7 for calling a global function with example usage: test_remotes(tmp_dir, dvc, caplog) without return types