Copilot commented on code in PR #64982:
URL: https://github.com/apache/airflow/pull/64982#discussion_r3066483364
##########
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:
In the `@pytest.mark.parametrize` list, the second dict item is missing a
trailing comma after the closing `}` of the outer dict, which makes the test
file invalid Python syntax. Add the comma so the list items are properly
separated.
--
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]