Mike always tells me to use MagicMock(). To be honest, I've never looked into why, so interpret this as me just echoing his advice rather than it coming from me.