potiuk commented on code in PR #42985:
URL: https://github.com/apache/airflow/pull/42985#discussion_r1800024528
##########
providers/tests/system/airbyte/example_airbyte_trigger_job.py:
##########
@@ -61,7 +61,13 @@
# Task dependency created via `XComArgs`:
# async_source_destination >> airbyte_sensor
-from dev.tests_common.test_utils.system_tests import get_test_run # noqa: E402
+from tests_common.test_utils.system_tests import get_test_run # noqa: E402
+
+# Needed to run the example DAG with pytest (see:
tests/system/README.md#run_via_pytest)
+test_run = get_test_run(dag)
+
+
+from tests_common.test_utils.system_tests import get_test_run # noqa: E402
Review Comment:
Yep. That was it. Fixed it - will push it shortly.
##########
providers/tests/alibaba/cloud/log/test_oss_task_handler.py:
##########
@@ -22,14 +22,13 @@
from unittest.mock import PropertyMock
import pytest
+from tests_common.test_utils.config import conf_vars
+from tests_common.test_utils.db import clear_db_dags, clear_db_runs
Review Comment:
Fixed. Will push it shortly.
--
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]