結果 : pytest check if function is called