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

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

     [ https://issues.apache.org/jira/browse/AIRFLOW-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fokko Driesprong resolved AIRFLOW-2473.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.10.0

Issue resolved by pull request #3411
[https://github.com/apache/incubator-airflow/pull/3411]

> 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
>            Priority: Minor
>             Fix For: 1.10.0, 2.0.0
>
>
> 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)