結果 : pytest mock variable inside function