class_docstr: Tests that apply to more than 1 Airflow component so we don't have to repeat tests everywhere.
  
  The one general exception will be the KubernetesExecutor PodTemplateFile, as it requires extra test setup.
code: def test_should_set_correct_helm_hooks_weight(self):
      docs = render_chart(
          show_only=["templates/secrets/fernetkey-secret.yaml"],
      )
      annotations = jmespath.search("metadata.annotations", docs[0])
      assert annotations["helm.sh/hook-weight"] == "0"
  
file_path: airflow/helm_tests/airflow_aux/test_airflow_common.py
imports: from __future__ import annotations
  import jmespath
  import pytest
  from tests.charts.helm_template_generator import render_chart
label_desc: Use image node_id 7 for calling the TestAirflowCommon obj's underlying member method code with example usage: obj.test_should_set_correct_helm_hooks_weight() without return types