Fixed linting errors, removed pytz

This commit is contained in:
alexjanousekGSA
2025-08-14 17:14:28 -04:00
parent 2fb98af014
commit c56f42ff36
3 changed files with 6 additions and 4 deletions

View File

@@ -35,7 +35,9 @@ def test_should_200_for_tour_start(
)
# Find the tour step button specifically, not just any usa-button
tour_buttons = [btn for btn in page.select("a.usa-button") if "tour" in btn.get("href", "")]
tour_buttons = [
btn for btn in page.select("a.usa-button") if "tour" in btn.get("href", "")
]
assert len(tour_buttons) > 0, "No tour button found"
assert tour_buttons[0]["href"] == url_for(
".tour_step", service_id=SERVICE_ONE_ID, template_id=fake_uuid, step_index=1