Coverage for benefits/in_person/urls.py: 100%
6 statements
« prev ^ index » next coverage.py v7.6.7, created at 2024-11-22 18:00 +0000
« prev ^ index » next coverage.py v7.6.7, created at 2024-11-22 18:00 +0000
1from django.urls import path
3from benefits.routes import routes
4from benefits.core.admin import admin
5from . import views
8app_name = "in_person"
9urlpatterns = [
10 path("eligibility/", admin.site.admin_view(views.eligibility), name=routes.name(routes.IN_PERSON_ELIGIBILITY)),
11 path("token/", admin.site.admin_view(views.token), name=routes.name(routes.IN_PERSON_ENROLLMENT_TOKEN)),
12 path("enrollment/", admin.site.admin_view(views.enrollment), name=routes.name(routes.IN_PERSON_ENROLLMENT)),
13 path(
14 "enrollment/error/reenrollment",
15 admin.site.admin_view(views.reenrollment_error),
16 name=routes.name(routes.IN_PERSON_ENROLLMENT_REENROLLMENT_ERROR),
17 ),
18 path("enrollment/retry", admin.site.admin_view(views.retry), name=routes.name(routes.IN_PERSON_ENROLLMENT_RETRY)),
19 path("enrollment/success", admin.site.admin_view(views.success), name=routes.name(routes.IN_PERSON_ENROLLMENT_SUCCESS)),
20 path(
21 "enrollment/error",
22 admin.site.admin_view(views.system_error),
23 name=routes.name(routes.IN_PERSON_ENROLLMENT_SYSTEM_ERROR),
24 ),
25 path("error/", admin.site.admin_view(views.server_error), name=routes.name(routes.IN_PERSON_SERVER_ERROR)),
26]