結果 : pytest check if function has been called