jedcunningham commented on a change in pull request #19225:
URL: https://github.com/apache/airflow/pull/19225#discussion_r736694572



##########
File path: chart/tests/test_cleanup_pods.py
##########
@@ -158,3 +158,21 @@ def test_command_and_args_overrides_are_templated(self):
             "spec.jobTemplate.spec.template.spec.containers[0].command", 
docs[0]
         )
         assert ["Helm"] == 
jmespath.search("spec.jobTemplate.spec.template.spec.containers[0].args", 
docs[0])
+
+    def test_should_set_labels_to_jobs_from_cronjob(self):
+        docs = render_chart(
+            values={
+                "cleanup": {"enabled": True},
+                "labels": {"project": "airflow"},
+            },
+            show_only=["templates/cleanup/cleanup-cronjob.yaml"],
+        )
+
+        print(docs[0])
+

Review comment:
       ```suggestion
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to