airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-857) Use unittest.assert instead of assert
Date Fri, 10 Feb 2017 19:54:42 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15861771#comment-15861771
] 

ASF subversion and git services commented on AIRFLOW-857:
---------------------------------------------------------

Commit 3ceb3abf166b77ea8baeb9015d33223143cdfb8a in incubator-airflow's branch refs/heads/master
from [~saguziel]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=3ceb3ab ]

[AIRFLOW-857] Use library assert statements instead of conditionals

Testing Done:
- Travis

Closes #2062 from saguziel/aguziel-fix-asserts


> Use unittest.assert instead of assert
> -------------------------------------
>
>                 Key: AIRFLOW-857
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-857
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Alex Guziel
>            Assignee: Alex Guziel
>            Priority: Minor
>
> Right now, unit tests do something like
> `assert x == y` 
> which gives less descriptive output in case of failure than
> `assertEqual(x, y)`



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message