code: def test_config(config_schema):
      config = {}
      validate(config, str(config_schema), False)
      assert config == {}
      validate(config, str(config_schema))
      assert dict(config) == {"param": {"foo": "bar"}}
  
file_path: snakemake/tests/test_schema.py
imports: import json
  import pytest
  from snakemake.utils import validate
  import pandas
label_desc: Use image node_id 7 for calling a global function with example usage: test_config(config_schema) without return types