Skip to content

Fix importskip statements in tests - #54135

Merged
vincbeck merged 1 commit into
apache:mainfrom
aws-mwaa:vincbeck/fix_test_queues
Aug 5, 2025
Merged

vincbeck merged 1 commit into
apache:mainfrom
aws-mwaa:vincbeck/fix_test_queues

Conversation

@vincbeck

@vincbeck vincbeck commented Aug 5, 2025

Copy link
Copy Markdown
Contributor

As called out by @Jasperora in #53556 (comment), importskip should be provided a module path and not a class path. When a class path is provided, the test is always skipped.


^ 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 airflow-core/newsfragments.

@jason810496 jason810496 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Jasperora for the nice catch!

@vincbeck
vincbeck merged commit 9bbb327 into apache:main Aug 5, 2025
@vincbeck
vincbeck deleted the vincbeck/fix_test_queues branch August 5, 2025 16:26
@potiuk

potiuk commented Aug 5, 2025 •

Copy link
Copy Markdown
Member

Got bitten by this one as well recently ! Good catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants