ashb commented on code in PR #43181:
URL: https://github.com/apache/airflow/pull/43181#discussion_r1808364862


##########
task_sdk/tests/conftest.py:
##########
@@ -16,10 +16,15 @@
 # under the License.
 from __future__ import annotations
 
+import os
+
 import pytest
 
 pytest_plugins = "tests_common.pytest_plugin"
 
+# Task SDK does not need access to the Airflow database
+os.environ["_AIRFLOW_SKIP_DB_TESTS"] = "true"

Review Comment:
   Pytest won't let you run yet unrelated test folders - i.e. ones that don't 
share a conftest.py in parent dir, and some there isn't a one at the top level 
of the repo we're good



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