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

ASF subversion and git services commented on DISPATCH-1758:
-----------------------------------------------------------

Commit 8ea0e87e016a3c3a60237d1e11fbb2003dfdb274 in qpid-dispatch's branch 
refs/heads/master from Jiri Daněk
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=8ea0e87 ]

DISPATCH-1758 Use assertIn in tests, for better error messages (#947)



> Improve failure reporting for `self.assertFalse(res)` in system_tests_policy
> ----------------------------------------------------------------------------
>
>                 Key: DISPATCH-1758
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1758
>             Project: Qpid Dispatch
>          Issue Type: Test
>          Components: Tests
>    Affects Versions: 1.13.0
>            Reporter: Jiri Daněk
>            Priority: Major
>             Fix For: 1.15.0
>
>
> Outputs like the following are unhelpful to figure out what went wrong.
> https://travis-ci.com/github/jiridanek/qpid-dispatch/jobs/373291250#L3200
> {noformat}
> 24: ======================================================================
> 24: FAIL: test_32_connector_policy_max_sndr_rcvr 
> (system_tests_policy.ConnectorPolicyNSndrRcvr)
> 24: ----------------------------------------------------------------------
> 24: Traceback (most recent call last):
> 24:   File 
> "/Users/travis/build/jiridanek/qpid-dispatch/tests/system_tests_policy.py", 
> line 1778, in test_32_connector_policy_max_sndr_rcvr
> 24:     self.assertFalse(res)
> 24: AssertionError: True is not false
> 24: 
> 24: ----------------------------------------------------------------------
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to