commit | 108f9d438cc884b40513127f7697b857a5de4f4f | [log] [tgz] |
---|---|---|
author | Tres Seaver <tseaver@palladion.com> | Wed Oct 17 15:57:41 2018 -0400 |
committer | GitHub <noreply@github.com> | Wed Oct 17 15:57:41 2018 -0400 |
tree | 10691680f4e5a8de0ad573ff313356036b8caafc | |
parent | 151a0c15526c01598e9ff700a396ff66142633af [diff] |
Fix branch coverage for un-called callbacks. (#6242) Use 'mock.Mock()' w/ 'return_value' True, rather than inlining 'lambda _: True' in cases where the callback doesn't get called.