Open GoogleCodeExporter opened 8 years ago
So overriding _get_child_mock is the intended (and documented) way of doing
this, but your way is easier - at the cost of a new keyword argument to the
already-has-too-many-arguments Mock constructor.
This would have to be in mock 1.1, which would be released at the same time as
Python 3.4 (although there will be early alphas).
Original comment by fuzzyman
on 5 Nov 2012 at 9:17
Attaching the original example for some context for where this came up:
http://bpaste.net/show/56061/
Original comment by Jul...@GrayVines.com
on 5 Nov 2012 at 9:22
Original issue reported on code.google.com by
jul...@grayvines.com
on 8 Aug 2012 at 6:52Attachments: