class_docstr: Tests statsd.
class_docstr_tok: ["Tests","statsd","."]
code: def test_statsd_configmap_by_default(self):
      docs = render_chart(
          show_only=["templates/configmaps/statsd-configmap.yaml"]
      )
  
      mappings_yml = jmespath.search('data."mappings.yml"', docs[0])
      mappings_yml_obj = yaml.safe_load(mappings_yml)
  
      assert (
          "airflow_dagrun_dependency_check"
          == mappings_yml_obj["mappings"][0]["name"]
      )
      assert (
          "airflow_pool_starving_tasks"
          == mappings_yml_obj["mappings"][-1]["name"]
      )
  
imports: from __future__ import annotations
  import jmespath
  import pytest
  import yaml
  from tests.charts.helm_template_generator import render_chart
label_desc: Use image node_id 11 for calling the TestStatsd obj's underlying member method code with example usage: obj.test_statsd_configmap_by_default() without return types