Skip to content

Conversation

@ferruzzi
Copy link
Contributor

@ferruzzi ferruzzi commented Apr 8, 2024

@vincbeck and @Taragolis requested some changes to the Bedrock hooks in #38693 and I missed the opportunity to greatly simplify the related unit tests.

The fixture and the two "constants" were only used by tests which were removed after Vincent's suggestion and should have been removed when the tests were. Once they were gone, I saw a much cleaner way to consolidate the remaining tests.

Static checks for it are currently failing locally but it looks like an issue with tests/providers/common/sql/test_utils.py:45: and it looks like @Taragolis and @dondaum are maybe working on that?


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@ferruzzi ferruzzi merged commit 6abd2c7 into apache:main Apr 9, 2024
@ferruzzi ferruzzi deleted the ferruzzi/bedrock/m3.5-better-hook-tests branch April 9, 2024 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants