Skip to content

Commit

Permalink
[AIRFLOW-1054] Fix broken import in test_dag
Browse files Browse the repository at this point in the history
Closes apache#2201 from
r39132/fix_broken_import_on_test_dag
  • Loading branch information
r39132 authored and criccomini committed Apr 3, 2017
1 parent daa281c commit c64e876
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dags/test_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from airflow import utils
from airflow import DAG
from airflow.operators.dummy_operator import DummyOperator
from datetime import datetime, timedelta
Expand All @@ -24,7 +25,7 @@
default_args = {
'owner': 'airflow',
'depends_on_past': True,
'start_date': airflow.utils.dates.days_ago(2)
'start_date': utils.dates.days_ago(2)
}
dag = DAG(DAG_NAME, schedule_interval='*/10 * * * *', default_args=default_args)

Expand Down

0 comments on commit c64e876

Please sign in to comment.