Using python's mock patch.object to change the return value of a method called within another method Using python's mock patch.object to change the return value of a method called within another method python python