Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr authored and sunank200 committed Nov 14, 2024
1 parent 3f945fb commit 14a4cff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/sensors/test_external_task_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

import pytest

from airflow import __version__ as exceptions, settings
from airflow import settings
from airflow.decorators import task as task_deco
from airflow.exceptions import AirflowException, AirflowSensorTimeout, AirflowSkipException, TaskDeferred
from airflow.models import DagBag, DagRun, TaskInstance
Expand Down Expand Up @@ -661,7 +661,7 @@ def test_external_task_sensor_fn(self):
poke_interval=1,
dag=self.dag,
)
with pytest.raises(exceptions.AirflowSensorTimeout):
with pytest.raises(AirflowSensorTimeout):
op2.run(start_date=DEFAULT_DATE, end_date=DEFAULT_DATE, ignore_ti_state=True)

@pytest.mark.skip_if_database_isolation_mode # Test is broken in db isolation mode
Expand Down

0 comments on commit 14a4cff

Please sign in to comment.