結果 : pytest check a function is called