You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by jl...@apache.org on 2017/02/02 16:56:36 UTC

incubator-airflow git commit: [AIRFLOW-831] Restore import to fix broken tests

Repository: incubator-airflow
Updated Branches:
  refs/heads/master 20c7ccc9c -> b86194f6f


[AIRFLOW-831] Restore import to fix broken tests

The global `models` object is used in the code and
was inadvertently
removed. This PR restores it

Closes #2050 from jlowin/fix-broken-tests


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/b86194f6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/b86194f6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/b86194f6

Branch: refs/heads/master
Commit: b86194f6f72118555a6b0359c3b534191d595d28
Parents: 20c7ccc
Author: Jeremiah Lowin <jl...@apache.org>
Authored: Thu Feb 2 11:56:22 2017 -0500
Committer: Jeremiah Lowin <jl...@apache.org>
Committed: Thu Feb 2 11:56:22 2017 -0500

----------------------------------------------------------------------
 tests/jobs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/b86194f6/tests/jobs.py
----------------------------------------------------------------------
diff --git a/tests/jobs.py b/tests/jobs.py
index 44087e1..e520b44 100644
--- a/tests/jobs.py
+++ b/tests/jobs.py
@@ -26,7 +26,7 @@ import six
 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