You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it would be nice if the type of my_mock_thing were mock.MagicMock[MyClass] (instead of "raw" mock.MagicMock) so that type-checkers could alert me that my call to my_mock_thing.method_that_does_not_exist_on_my_class is a flaw in my test.
The text was updated successfully, but these errors were encountered:
In the case of
it would be nice if the type of
my_mock_thing
weremock.MagicMock[MyClass]
(instead of "raw"mock.MagicMock
) so that type-checkers could alert me that my call tomy_mock_thing.method_that_does_not_exist_on_my_class
is a flaw in my test.The text was updated successfully, but these errors were encountered: