facebook/TestSlide
Ver no GitHubSuggest mock_(async)_callable from StrictMock
Open
#128 aberto em 16 de mar. de 2020
Better Error MessagesStrictMockenhancementgood first issuehelp wanted
Métricas do repositório
- Stars
- (147 stars)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
StrictMock raises when an attribute is accessed, but has not been previously defined
The message simply mentions "setting" the attribute. Let's improve this message to, if the mock has a template, and the attribute is callable, suggest using mock_callable / mock_async_callable to set it.