dstandish commented on code in PR #33102:
URL: https://github.com/apache/airflow/pull/33102#discussion_r1284126217
##########
tests/models/test_taskmixin.py:
##########
@@ -287,7 +295,8 @@ def
test_set_setup_teardown_ctx_dependencies_using_classic_tasks(dag_maker):
t3 = make_task("t3", type_="classic")
setuptask = make_task("setuptask", type_="classic", setup_=True)
teardowntask = make_task("teardowntask", type_="classic",
teardown_=True)
- with setuptask >> teardowntask:
+ with setuptask >> teardowntask as scope:
+ scope.add_task(t1, t2, t3)
Review Comment:
BUT... no strong opinion about it, just explaining why I used add_task
For now, i am signing off, feel free to make any changes
--
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]