code: def test_parse_cluster_address_validation():
      """Test that parse_cluster_info validates address schemes."""
  
      # Check that "auto" is rejected
      with pytest.raises(ValueError):
          parse_cluster_info("auto")
  
      # Check that invalid schemes raise a ValueError
      invalid_schemes = ["ray"]
      for scheme in invalid_schemes:
          with pytest.raises(ValueError):
              parse_cluster_info(f"{scheme}://localhost:10001")
  
      # Check that valid schemes are OK
      valid_schemes = ["http", "https"]
      for scheme in valid_schemes:
          parse_cluster_info(f"{scheme}://localhost:10001")
  
file_path: ray/python/ray/dashboard/modules/tests/test_dashboard_sdk.py
imports: import pytest
  import sys
  import os
  from ray.dashboard.modules.dashboard_sdk import parse_runtime_env_args, parse_cluster_info
label_desc: Use image node_id 2 for calling a global function with example usage: test_parse_cluster_address_validation() without return types