code: def test_load_data():
      dl = DataLoader()
      df = dl.load_data(
          data_name="hourly_parking", system_code_number="Shopping"
      )
      expected_df = dl.load_parking(system_code_number="Shopping")
      assert_equal(df, expected_df)
  
      data_names = (
          "daily_peyton_manning",
          "hourly_bikesharing",
          "hourly_beijing_pm",
          "daily_hierarchical_actuals",
          "daily_hierarchical_forecasts",
      )
      pattern = re.compile(".*?_(.*)")
      for data_name in data_names:
          result = pattern.match(data_name)
          short_name = result.group(1)
          assert_equal(
              dl.load_data(data_name=data_name),
              getattr(dl, f"load_{short_name}")(),
          )
  
      # Error due to unavailable data name
      data_name = "dummy"
      data_inventory = dl.get_data_inventory()
      with pytest.raises(
          ValueError,
          match=rf"Input data name '{data_name}' is not recognized. "
          rf"Must be one of \{data_inventory}\.",
      ):
          dl.load_data(data_name=data_name)
  
imports: import os
  import re
  import pandas
  import pytest
  from greykite.common.constants import TIME_COL
  from greykite.common.data_loader import DataLoader
  from greykite.common.testing_utils import assert_equal
label_desc: Use image node_id 18 for calling a global function with example usage: test_load_data() without return types