結果 : mock a variable in a function python