[AIRFLOW-6617] Add tests to PYTHONPATH in breeze#7241
[AIRFLOW-6617] Add tests to PYTHONPATH in breeze#7241turbaszek wants to merge 1 commit intoapache:masterfrom
Conversation
|
Just wondering how it helps ? Not that I am against it but like to see a reason for it and maybe add it for others to the docs how it can be helpful |
It has already happened a few times that I had to set up it manually. |
|
Yeah. But I wonder when it is needed. I.e. it should not be needed, unless someone (for example) somewhere in our code imports tests not from where it should i.e. |
|
My problem was not bad imports but running |
Adding tests directory to PYTHONPATH helps during development :)
Issue link: AIRFLOW-6617
Make sure to mark the boxes below before creating PR: [x]
[AIRFLOW-NNNN]. AIRFLOW-NNNN = JIRA ID** For document-only changes commit message can start with
[AIRFLOW-XXXX].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.
Read the Pull Request Guidelines for more information.