結果 : pytest mock function in class