omacchioni opened a new issue, #66391: URL: https://github.com/apache/airflow/issues/66391
In function `def test_connection(self) -> tuple[bool, str]:`: https://github.com/apache/airflow/blob/f68cb3e4a5d7deac9bd285742535477d3d21b3c5/providers/smtp/src/airflow/providers/smtp/hooks/smtp.py#L303-L305 If I'm not mistaken, `noop` returns a tuple with (status_code, message) like this: ``` (250, b'2.0.0 Ok') ``` This is more or less documented in https://docs.python.org/3/library/smtplib.html The test fails because it's only considering an `int` as a return value. -- 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]
