Formatting and linting changes

This commit is contained in:
alexjanousekGSA
2025-07-31 07:49:12 -04:00
parent 7d5db34d16
commit 31a9e39846
15 changed files with 62 additions and 33 deletions

View File

@@ -182,10 +182,12 @@ def test_should_show_create_api_key_page(
for index, option in enumerate(expected_options):
item = page.select(".usa-radio")[index]
if type(option) is tuple:
assert normalize_spaces(item.select_one(".usa-label").text) == option[0]
assert (
normalize_spaces(item.select_one(".usa-radio__label").text) == option[0]
)
assert normalize_spaces(item.select_one(".usa-hint").text) == option[1]
else:
assert normalize_spaces(item.select_one(".usa-label").text) == option
assert normalize_spaces(item.select_one(".usa-radio__label").text) == option
def test_should_create_api_key_with_type_normal(