turbaszek commented on a change in pull request #8805:
URL: https://github.com/apache/airflow/pull/8805#discussion_r431860047
##########
File path: tests/models/test_baseoperator.py
##########
@@ -347,3 +350,67 @@ def test_lineage_composition(self):
task4 = DummyOperator(task_id="op4", dag=dag)
task4 > [inlet, outlet, extra]
self.assertEqual(task4.get_outlet_defs(), [inlet, outlet, extra])
+
+
[email protected](scope="class")
+def provide_test_dag_bag():
+ yield DagBag(dag_folder=TEST_DAGS_FOLDER, include_examples=False)
+
+
+class TestXComArgsRelationsAreResolved:
+ def test_upstream_is_set_when_template_field_is_xcomarg(
+ self, provide_test_dag_bag # pylint: disable=redefined-outer-name
+ ):
Review comment:
Right, thanks for checking this
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]