formatting files

This commit is contained in:
Beverly Nguyen
2025-08-06 13:40:11 -07:00
parent 95421c6d1e
commit 562a57bd85
8 changed files with 37 additions and 49 deletions

View File

@@ -185,7 +185,9 @@ def test_should_show_create_api_key_page(
label = item.select_one(".usa-radio__label")
hint = label.select_one(".usa-hint")
# Get the label text without the hint text
label_text = label.text.replace(hint.text, "").strip() if hint else label.text
label_text = (
label.text.replace(hint.text, "").strip() if hint else label.text
)
assert normalize_spaces(label_text) == option[0]
assert normalize_spaces(hint.text) == option[1]
else: