Skip to content

Bugfix/fix Non DB - WWW and Always tests#36258

Merged
potiuk merged 1 commit intoapache:mainfrom
romsharon98:bugfix/fix-failing-tests
Dec 16, 2023
Merged

Bugfix/fix Non DB - WWW and Always tests#36258
potiuk merged 1 commit intoapache:mainfrom
romsharon98:bugfix/fix-failing-tests

Conversation

@romsharon98
Copy link
Contributor

@romsharon98 romsharon98 commented Dec 16, 2023

It was a bug when creating object the use sqlalchemy inside paramtrize.
move creation of object that depends on sqlalchemy into fixtures
u can find more in this documentation


^ 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.

@boring-cyborg boring-cyborg bot added the area:webserver Webserver related Issues label Dec 16, 2023
@romsharon98 romsharon98 force-pushed the bugfix/fix-failing-tests branch from f015d11 to 22c4768 Compare December 16, 2023 14:50
@romsharon98 romsharon98 changed the title Bugfix/fix WWW and Always tests Bugfix/fix Non DB - WWW and Always tests Dec 16, 2023
Copy link
Member

@hussein-awala hussein-awala left a comment

Choose a reason for hiding this comment

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

Nice! I tried fixing it without fixtures but did not find a solution. Let's see what @potiuk thinks about this solution.

@potiuk
Copy link
Member

potiuk commented Dec 16, 2023

Very nice! We should likely also add an example of it to the docs :).

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

Labels

area:webserver Webserver related Issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants