結果 : pytest assert object has attribute