class_docstr: Tests flower deployment.
class_docstr_tok: ["Tests","flower","deployment","."]
code: def test_args_with_airflow_version(
      self, airflow_version, expected_arg
  ):
      docs = render_chart(
          values={
              "executor": "CeleryExecutor",
              "flower": {"enabled": True},
              "airflowVersion": airflow_version,
          },
          show_only=["templates/flower/flower-deployment.yaml"],
      )
  
      assert jmespath.search(
          "spec.template.spec.containers[0].args", docs[0]
      ) == [
          "bash",
          "-c",
          f"exec \\\n{expected_arg}",
      ]
  
imports: from __future__ import annotations
  import jmespath
  import pytest
  from tests.charts.helm_template_generator import render_chart
label_desc: Use image node_id 3 for calling the TestFlowerDeployment obj's underlying member method code with example usage: obj.test_args_with_airflow_version(airflow_version, expected_arg) without return types