結果 : pytest check if function was called