mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Fixed linting errors, removed pytz
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user