code: def test_dicts_in_config():
      with tempfile.TemporaryDirectory() as tmpdir:
          path = os.path.join(tmpdir, "Snakefile")
          with open(path, "w") as f:
              print(
                  dedent(
                      """
                  rule:
                      output: 'result.txt'
                      run:
                          with open(output[0], 'w') as f:
                              print("hello, this option " + config["this_option"] + "; this test dictionary " + config["test"]["this_dict"], file=f)
                  """
                  ),
                  file=f,
              )
          snakemake(
              path,
              workdir=tmpdir,
              config={
                  "this_option": "does_not_break",
                  "test": {"this_dict": "shoult_not_either"},
              },
          )
  
file_path: snakemake/tests/testapi.py
imports: from snakemake.api import snakemake
  import asyncio
  import sys
  import tempfile
  import os.path
  from textwrap import dedent
label_desc: Use image node_id 5 for calling a global function with example usage: test_dicts_in_config() without return types