Taragolis commented on code in PR #34884: URL: https://github.com/apache/airflow/pull/34884#discussion_r1356617172
########## tests/providers/amazon/aws/triggers/test_base.py: ########## @@ -63,10 +63,33 @@ def test_region_serialized(self): assert "region_name" in args assert args["region_name"] == "my_region" - def test_region_not_serialized_if_omitted(self): + @pytest.mark.parametrize("verify", [True, False, pytest.param("/foo/bar.pem", id="path")]) + def test_verify_serialized(self, verify): + self.trigger.verify = verify _, args = self.trigger.serialize() - assert "region_name" not in args + assert "verify" in args + assert args["verify"] == verify + + @pytest.mark.parametrize( + "botocore_config", + [ + pytest.param({"read_timeout": 10, "connect_timeout": 42, "keepalive": True}, id="non-empty-dict"), Review Comment: Not yet. Let's add it with first migrated Operators. Lambda it is a good candidate for first migration: - Just couple Operators/Sensors - Have deferrable mode -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org