You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by jh...@apache.org on 2021/08/15 23:28:59 UTC

[airflow] branch v2-1-test updated: Improve `dag_maker` fixture (#17324)

This is an automated email from the ASF dual-hosted git repository.

jhtimmins pushed a commit to branch v2-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v2-1-test by this push:
     new 008f536  Improve `dag_maker` fixture (#17324)
008f536 is described below

commit 008f53640c4828d72d7c05100301a56bfe7e9f93
Author: Ephraim Anierobi <sp...@gmail.com>
AuthorDate: Mon Aug 2 07:37:40 2021 +0100

    Improve `dag_maker` fixture (#17324)
    
    This PR improves the dag_maker fixture to enable creation of dagrun, dag and dag_model separately
    
    Co-authored-by: Tzu-ping Chung <ur...@gmail.com>
    (cherry picked from commit 5c1e09cafacea922b9281e901db7da7cadb3e9be)
---
 tests/jobs/test_backfill_job.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/jobs/test_backfill_job.py b/tests/jobs/test_backfill_job.py
index 3ce8fdf..ca69120 100644
--- a/tests/jobs/test_backfill_job.py
+++ b/tests/jobs/test_backfill_job.py
@@ -1340,7 +1340,6 @@ class TestBackfillJob:
         assert [DEFAULT_DATE] == test_dag.get_run_dates(
             start_date=DEFAULT_DATE,
             end_date=DEFAULT_DATE,
-            align=True,
         )
         assert [
             DEFAULT_DATE - datetime.timedelta(hours=3),