potiuk commented on code in PR #37320:
URL: https://github.com/apache/airflow/pull/37320#discussion_r1486653456


##########
tests/conftest.py:
##########
@@ -71,6 +71,7 @@
 AIRFLOW_TESTS_DIR = Path(os.path.dirname(os.path.realpath(__file__))).resolve()
 AIRFLOW_SOURCES_ROOT_DIR = AIRFLOW_TESTS_DIR.parent.parent
 
+os.environ["AIRFLOW__CORE__PLUGINS_FOLDER"] = os.fspath(AIRFLOW_TESTS_DIR / 
"plugins")

Review Comment:
   This removes a side-effect of change that was implemented in BREEZE where 
`/files/plugins` is set as default when you enter BREEZE. Some tests were 
failing expecting the plugins folder to point to internal plugins, so I added 
it in conftest.py to have it working the same regardless if you are in Breeze 
or not.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to