code: def test_args_that_fail(
      region_queries: List[RegionQuery],
      level: Optional[LevelKind],
      message: str,
  ):
      with pytest.raises(ValueError) as exception:
          GeocodingRequest._check_required_parameters(
              region_queries, level
          )
  
      assert message == exception.value.args[0]
  
imports: from typing import Optional, List
  import pytest
  from lets_plot.geo_data.gis.request import MapRegion, RegionQuery, MISSING_LEVEL_AND_SCOPE_OR_REQUEST_EXCEPTION_TEXT, MISSING_LEVEL_OR_REQUEST_EXCEPTION_TEXT, GeocodingRequest, AmbiguityResolver
  from lets_plot.geo_data.gis.response import LevelKind
label_desc: Use image node_id 1 for calling a global function with example usage: test_args_that_fail(region_queries, level, message) without return types