Message264817
Thanks for the report, but the typos are intentional. Quoting from the documentation:
[...] if you misspell one of these assert methods then your assertion is gone:
>>> mock = Mock(name='Thing', return_value=None)
>>> mock(1, 2, 3)
>>> mock.assret_called_once_with(4, 5, 6)
Your tests can pass silently and incorrectly because of the typo. |
|
Date |
User |
Action |
Args |
2016-05-04 13:51:54 | berker.peksag | set | recipients:
+ berker.peksag, docs@python, Joni Bekenstein |
2016-05-04 13:51:54 | berker.peksag | set | messageid: <1462369914.73.0.757541518714.issue26950@psf.upfronthosting.co.za> |
2016-05-04 13:51:54 | berker.peksag | link | issue26950 messages |
2016-05-04 13:51:54 | berker.peksag | create | |
|