結果 : pytest mock a variable inside a function