class_docstr: Tests flower deployment.
class_docstr_tok: ["Tests","flower","deployment","."]
code: def test_should_create_flower_deployment_without_authorization(self):
      docs = render_chart(
          values={
              "flower": {"enabled": True},
              "ports": {"flowerUI": 7777},
          },
          show_only=["templates/flower/flower-deployment.yaml"],
      )
  
      assert "AIRFLOW__CORE__FERNET_KEY" == jmespath.search(
          "spec.template.spec.containers[0].env[0].name", docs[0]
      )
      assert ["curl", "localhost:7777"] == jmespath.search(
          "spec.template.spec.containers[0].livenessProbe.exec.command",
          docs[0],
      )
      assert ["curl", "localhost:7777"] == jmespath.search(
          "spec.template.spec.containers[0].readinessProbe.exec.command",
          docs[0],
      )
  
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 TestFlowerDeployment obj's underlying member method code with example usage: obj.test_should_create_flower_deployment_without_authorization() without return types