Skip to content

Commit 5f84f7f

Browse files
logging to see failure
1 parent 01b4ef3 commit 5f84f7f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/page_object_prefs.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import logging
12
import re
23
from time import sleep
34
from typing import List
@@ -153,6 +154,9 @@ def verify_cc_json(
153154
credit_card_fill_obj: CreditCardBase
154155
The object that contains all the generated information
155156
"""
157+
logging.warning(
158+
f"HERE: {cc_info_json} == {credit_card_fill_obj.__dict__.values()}"
159+
)
156160
assert cc_info_json["name"] == credit_card_fill_obj.name
157161
assert cc_info_json["number"][-4:] == credit_card_fill_obj.card_number[-4:]
158162
assert int(cc_info_json["month"]) == int(credit_card_fill_obj.expiration_month)

0 commit comments

Comments
 (0)