Browse Source
You're supposed to be able to hand mock_rpc either a function to call, or a dict canned response. We never did the latter, and the logic was broken. It was testing the key, not the value for whether it was a dict. And it could never have given a valid response anyway, since it wouldn't know the id to use. So assume it's a successful result. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>pull/2938/head
Rusty Russell
6 years ago
committed by
Christian Decker
1 changed files with 6 additions and 2 deletions
Loading…
Reference in new issue