Skip to content

Commit

Permalink
Import EmptyOperator from .empty
Browse files Browse the repository at this point in the history
  • Loading branch information
davidavdav authored and ashb committed Apr 22, 2022
1 parent 4deefa6 commit edfc2ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/serialization/test_dag_serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ def test_derived_dag_deps_sensor(self):
"""
Tests DAG dependency detection for sensors, including derived classes
"""
from airflow.operators.dummy import EmptyOperator
from airflow.operators.empty import EmptyOperator
from airflow.sensors.external_task import ExternalTaskSensor

class DerivedSensor(ExternalTaskSensor):
Expand Down Expand Up @@ -1330,7 +1330,7 @@ def test_derived_dag_deps_operator(self):
"""
Tests DAG dependency detection for operators, including derived classes
"""
from airflow.operators.dummy import EmptyOperator
from airflow.operators.empty import EmptyOperator
from airflow.operators.trigger_dagrun import TriggerDagRunOperator

class DerivedOperator(TriggerDagRunOperator):
Expand Down

0 comments on commit edfc2ef

Please sign in to comment.