[ https://issues.apache.org/jira/browse/PROTON-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660195#comment-14660195 ]
ASF subversion and git services commented on PROTON-977: -------------------------------------------------------- Commit 59943d7f153ed7624eb104f424d6ba839ad416e3 in qpid-proton's branch refs/heads/master from [~gsim] [ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=59943d7 ] PROTON-977: make some tests more explicit > handler appears to get ignored > ------------------------------ > > Key: PROTON-977 > URL: https://issues.apache.org/jira/browse/PROTON-977 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding > Affects Versions: 0.10 > Reporter: Gordon Sim > Assignee: Gordon Sim > Fix For: 0.11 > > > If a handler defines methods such that it is evaluated to false in a boolean > context, then tests inside the Container and/or MessagingHandler whose aim is > to test whether a handler is set, will fail even though there is a handler. > E.g. if the handler has a __len__() method that returns 0 when > Container.create_receiver is called, the handler will not be set. -- This message was sent by Atlassian JIRA (v6.3.4#6332)