[TIP] Add a assert_called() method to mock

Robert Collins robertc at robertcollins.net
Tue Feb 9 15:56:40 PST 2016


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



More information about the testing-in-python mailing list