Skip to content

Commit fc2f65f

Browse files
committed
Remove some unecessary comments
1 parent 7177926 commit fc2f65f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

modules/page_object_autofill.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ def verify_form_data(self, sample_data: CreditCardBase | AutofillAddressBase):
225225
for attr_name, field_name in self.field_mapping.items():
226226
if non_us_ca_address and field_name == "address-level1":
227227
continue
228-
# Skip CVV field verification
229228
if attr_name == "cvv":
230229
continue
231230
expected_value = getattr(sample_data, attr_name, None)
@@ -273,7 +272,6 @@ def verify_field_autofill_dropdown(
273272
)
274273

275274
if fields_to_test is None:
276-
# Exclude CVV field from testing
277275
fields_to_test = [x for x in self.field_mapping.keys() if x != "cvv"]
278276

279277
# Handle region-specific behavior
@@ -351,7 +349,6 @@ def verify_field_highlight(
351349
if expected_highlighted_fields is None:
352350
# By default, everything in fields_to_test is expected to be highlighted except cvv for cc
353351
expected_highlighted_fields = fields_to_test
354-
# Remove CVV field from expected highlighted fields
355352
if "cvv" in expected_highlighted_fields:
356353
expected_highlighted_fields.remove("cvv")
357354

@@ -584,7 +581,6 @@ def clear_and_verify_all_fields(
584581
region: region being tested
585582
sample_data: verify autofill against sample data if present
586583
"""
587-
# Exclude CVV field from processing
588584
fields = [x for x in self.field_mapping.keys() if x != "cvv"]
589585
for field in fields:
590586
self.clear_and_verify(field, sample_data, region)

0 commit comments

Comments
 (0)