code: def assert_url_pattern(url, schema, ip, port, context_path):
      match = assert_matches(url, H2OConnection.url_pattern)
      assert match.group(1) == schema
      assert match.group(2) == ip
      assert match.group(3) == port
      assert match.group(4) == context_path
  
imports: from h2o.backend import H2OConnectionConf, H2OConnection
  from h2o.exceptions import H2OTypeError, H2OValueError
  from h2o.utils.typechecks import assert_matches
label_desc: Use image node_id 1 for calling a global function with example usage: assert_url_pattern(url, schema, ip, port, context_path) without return types