uber/doubles

Show diff of arguments when they don't match

Aperta

#143 aperta il 4 apr 2019

 (4 commenti) (0 reazioni) (0 assegnatari)Python (18 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (164 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor