code: def test_get_dataset_config_names(path, expected):
      config_names = get_dataset_config_names(path)
      assert config_names == expected
  
file_path: datasets/tests/test_inspect.py
imports: import os
  from pathlib import Path
  import pytest
  from datasets.inspect import get_dataset_config_info, get_dataset_config_names, get_dataset_default_config_name, get_dataset_infos, get_dataset_split_names, inspect_dataset, inspect_metric
  from datasets.packaged_modules.csv import csv
label_desc: Use image node_id 6 for calling a global function with example usage: test_get_dataset_config_names(path, expected) without return types