ashb commented on a change in pull request #17719:
URL: https://github.com/apache/airflow/pull/17719#discussion_r692775040
##########
File path: tests/jobs/test_triggerer_job.py
##########
@@ -305,22 +303,14 @@ def test_invalid_trigger(session):
session.commit()
# Create the test DAG and task
- with DAG(
- dag_id='test_invalid_trigger',
- start_date=timezone.datetime(2016, 1, 1),
- schedule_interval='@once',
- max_active_runs=1,
- ):
- task1 = DummyOperator(task_id='dummy1')
+ with dag_maker(dag_id='test_invalid_trigger'):
+ DummyOperator(task_id='dummy1')
+ dr = dag_maker.create_dagrun()
Review comment:
Done in 2a7f8a411 (to the dag_maker call)
--
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]