[TIP] Add a assert_called() method to mock

Amit Saha amitsaha.in at gmail.com
Tue Feb 9 16:01:44 PST 2016


Thanks, filed it now: http://bugs.python.org/issue26323

On Wed, Feb 10, 2016 at 10:56 AM, Robert Collins
<robertc at robertcollins.net> wrote:
> Yes, stdlib first. The backport is 99% automated :)
>
> On 10 February 2016 at 12:44, Amit Saha <amitsaha.in at gmail.com> wrote:
>> Hi all,
>>
>> I just filed a PR idea for adding an assert_called() method:
>> https://github.com/testing-cabal/mock/issues/341 - soon, I realized
>> that this is of course a backport of the stdlib's methods.
>>
>> So, should I first try to see if I can get it included in the standard
>> library and then work on the backport?
>>
>> Best Wishes,
>> Amit.
>>
>>
>> --
>> http://echorand.me
>>
>> _______________________________________________
>> testing-in-python mailing list
>> testing-in-python at lists.idyll.org
>> http://lists.idyll.org/listinfo/testing-in-python
>
>
>
> --
> Robert Collins <rbtcollins at hpe.com>
> Distinguished Technologist
> HP Converged Cloud



-- 
http://echorand.me



More information about the testing-in-python mailing list