romsharon98 commented on code in PR #36909:
URL: https://github.com/apache/airflow/pull/36909#discussion_r1461458749
##########
tests/providers/google/cloud/operators/test_cloud_storage_transfer_service.py:
##########
@@ -324,21 +324,33 @@ def test_job_create_multiple(self, aws_hook, gcp_hook):
# (could be anything else) just to test if the templating works for all
# fields
@pytest.mark.db_test
+ @pytest.mark.parametrize(
+ "body, excepted",
+ [
+ (
+ {"description": "{{ dag.dag_id }}"},
+ {
+ "description":
"TestGcpStorageTransferJobCreateOperator_test_templates",
+ },
+ ),
+ ("{{ dag.dag_id }}",
"TestGcpStorageTransferJobCreateOperator_test_templates"),
Review Comment:
it's not, but this test just checking the rendering.
--
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]