Skip to content

Commit

Permalink
[AIRFLOW-831] Restore import to fix broken tests
Browse files Browse the repository at this point in the history
The global `models` object is used in the code and
was inadvertently
removed. This PR restores it

Closes apache#2050 from jlowin/fix-broken-tests
  • Loading branch information
jlowin committed Feb 2, 2017
1 parent 20c7ccc commit b86194f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import sys
from tempfile import mkdtemp

from airflow import AirflowException, settings
from airflow import AirflowException, settings, models
from airflow.bin import cli
from airflow.jobs import BackfillJob, SchedulerJob
from airflow.models import DAG, DagModel, DagBag, DagRun, Pool, TaskInstance as TI
Expand Down

0 comments on commit b86194f

Please sign in to comment.