uber/doubles

Show diff of arguments when they don't match

Aberta

#143 aberto em 4 de abr. de 2019

 (4 comentários) (0 reação) (0 responsável)Python (18 forks)github user discovery
enhancementhelp wanted

Métricas do repositório

Stars
 (164 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador