uber/doubles

Show diff of arguments when they don't match

Open

#143 opened on Apr 4, 2019

 (4 comments) (0 reactions) (0 assignees)Python (18 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (164 stars)
PR merge metrics
 (PR metrics pending)

Description

It would be nice to know why arguments do not match when there's a single allowance, e.g.:

doubles.exceptions.UnallowedMethodCallError: Received unexpected call to '...' on <...>.  The supplied arguments (...) do not match allowance, missing key 'toaster' required in allowance.

Contributor guide