結果 : how to mock a function call in python