Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove loading DagBag multiple times in test_views.py:TestDecorators #11804

Merged
merged 1 commit into from
Oct 24, 2020

Conversation

kaxil
Copy link
Member

@kaxil kaxil commented Oct 24, 2020

Previously we were loading DagBag twice, once in setUpClass and once in setUp (which is called everytime a test in that class is run)

This will be enforced by PyUpgrade in #11447 -- which will be merged before 2.0 beta since it can cause conflicts for many PRs since it changes format to f-string that touches a large number of files


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, 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 UPDATING.md.

Previously we were loading DagBag twice, once in `setUpClass` and once in `setUp` (which is called everytime a test in that class is run)
@boring-cyborg boring-cyborg bot added the area:webserver Webserver related Issues label Oct 24, 2020
@kaxil kaxil merged commit 6ca933b into apache:master Oct 24, 2020
@kaxil kaxil deleted the remove-multiple-loading-dagbag branch October 24, 2020 01:49
michalmisiewicz pushed a commit to michalmisiewicz/airflow that referenced this pull request Oct 30, 2020
…pache#11804)

Previously we were loading DagBag twice, once in `setUpClass` and once in `setUp` (which is called everytime a test in that class is run)
szn pushed a commit to szn/airflow that referenced this pull request Nov 1, 2020
…pache#11804)

Previously we were loading DagBag twice, once in `setUpClass` and once in `setUp` (which is called everytime a test in that class is run)
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.

2 participants