結果 : mock a variable inside a function python