class_docstr: Tests flower service.
class_docstr_tok: ["Tests","flower","service","."]
code: def test_default_service(self):
      docs = render_chart(
          values={"flower": {"enabled": True}},
          show_only=["templates/flower/flower-service.yaml"],
      )
  
      assert "release-name-flower" == jmespath.search(
          "metadata.name", docs[0]
      )
      assert jmespath.search("metadata.annotations", docs[0]) is None
      assert {
          "tier": "airflow",
          "component": "flower",
          "release": "release-name",
      } == jmespath.search("spec.selector", docs[0])
      assert "ClusterIP" == jmespath.search("spec.type", docs[0])
      assert {"name": "flower-ui", "port": 5555} in jmespath.search(
          "spec.ports", 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 2 for calling the TestFlowerService obj's underlying member method code with example usage: obj.test_default_service() without return types