Message343080
> And when people understand this API checks inclusion, calling with
empty list doesn't make sense at all.
I can see a thought process being «all my other tests use thing.assert_has_calls([call0, call1]), here let’s check there are no calls with thing2.assert_has_calls([])».
Are the correct methods advertised in the right place? (I don’t use mock so I forgot if there is a method to assert not called or if it’s assertEqual(mock calls count, 0) or some False property) |
|
Date |
User |
Action |
Args |
2019-05-21 19:01:59 | eric.araujo | set | recipients:
+ eric.araujo, rbcollins, michael.foord, methane, docs@python, berker.peksag, serhiy.storchaka, kushal.das, ztane, xtreak |
2019-05-21 19:01:59 | eric.araujo | set | messageid: <1558465319.28.0.732713490723.issue24653@roundup.psfhosted.org> |
2019-05-21 19:01:59 | eric.araujo | link | issue24653 messages |
2019-05-21 19:01:59 | eric.araujo | create | |
|