結果 : mock a function call python