結果 : pytest mock a variable in a function