code: def test_get_dataset_default_config_name(path, expected):
      default_config_name = get_dataset_default_config_name(path)
      if expected:
          assert default_config_name == expected
      else:
          assert default_config_name is None
  
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 7 for calling a global function with example usage: test_get_dataset_default_config_name(path, expected) without return types