You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kengo Seki (JIRA)" <ji...@apache.org> on 2018/05/16 14:44:00 UTC

[jira] [Created] (AIRFLOW-2473) Fix wrong skip condition for TransferTests

Kengo Seki created AIRFLOW-2473:
-----------------------------------

             Summary: Fix wrong skip condition for TransferTests
                 Key: AIRFLOW-2473
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2473
             Project: Apache Airflow
          Issue Type: Bug
          Components: tests
            Reporter: Kengo Seki
            Assignee: Kengo Seki


tests.operators.operators:TransferTests has the following condition:

{code}
228 @skipUnlessImported('airflow.operators.hive_operator', 'HiveOperator')
229 @skipUnlessImported('airflow.operators.postgres_operator', 'PostgresOperator')
230 class TransferTests(unittest.TestCase):
231     cluster = None

(snip)
{code}

but it doesn't use {{PostgresOperator}} at all. In addition, it seems to have some unnecessary lines such as {{cluster = None}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)