Miretpl commented on code in PR #64982:
URL: https://github.com/apache/airflow/pull/64982#discussion_r3066881022
##########
helm-tests/tests/helm_tests/airflow_core/test_worker.py:
##########
@@ -1386,17 +1386,34 @@ def test_persistence_volume_annotations(self,
workers_values):
)
assert
jmespath.search("spec.volumeClaimTemplates[0].metadata.annotations", docs[0])
== {"foo": "bar"}
- def test_should_add_component_specific_annotations(self):
- docs = render_chart(
- values={
- "workers": {
+ @pytest.mark.parametrize(
+ "workers_values",
+ [
+ {
+ "annotations": {"test_annotation": "test_annotation_value"},
+ },
+ {
+ "celery": {
+ "annotations": {"test_annotation":
"test_annotation_value"},
+ }
+ },
+ {
Review Comment:
It is correct against Python syntax. Also ruff would catch that if it
wouldn't, so I'm leaving it as it is.
--
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]