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


##########
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:
   BTW. That was also a reason for the doc-build errors - get_test_run was seen 
as duplicate identifer by sphinx :D. Killing two birds with the same stone :)



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