code: def test_hf_model_register(model_name):
      register_huggingface_model_config(model_name)
      assert model_name in ModelRunExpander("all").values
      assert model_name in get_all_models()
      assert model_name in get_all_text_models()
  
file_path: H2O/h2o_hf/helm/src/helm/proxy/clients/test_huggingface_model_registry.py
imports: import pytest
  import unittest
  from typing import List, Tuple
  from helm.benchmark.run_expander import ModelRunExpander
  from helm.proxy.clients.huggingface_model_registry import HuggingFaceModelConfig, register_huggingface_model_config, get_huggingface_model_config
  from helm.proxy.models import get_all_models, get_all_text_models
label_desc: Use image node_id 1 for calling a global function with example usage: test_hf_model_register(model_name) without return types