EricGao888 opened a new pull request #21992: URL: https://github.com/apache/airflow/pull/21992
- At present, unit tests of oss hook in alibaba-provider uses real OSS(remote object storage service), which is not a good practice for unit test and could cause stability issues. Furthermore, most of test cases for OSSHook object are absent. - This pr refactors the previous oss hook unit tests and uses unittest.mock to get rid of communications with real OSS. - This pr also adds test cases to cover all functions for OSSHook object. - related: #17617 -- 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]
