Coverage for benefits/oauth/urls.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.6.7, created at 2024-11-19 16:31 +0000

1from django.urls import path 

2 

3from benefits.routes import routes 

4from . import views 

5 

6 

7app_name = "oauth" 

8urlpatterns = [ 

9 # /oauth 

10 path("login", views.login, name=routes.name(routes.OAUTH_LOGIN)), 

11 path("authorize", views.authorize, name=routes.name(routes.OAUTH_AUTHORIZE)), 

12 path("cancel", views.cancel, name=routes.name(routes.OAUTH_CANCEL)), 

13 path("logout", views.logout, name=routes.name(routes.OAUTH_LOGOUT)), 

14 path("post_logout", views.post_logout, name=routes.name(routes.OAUTH_POST_LOGOUT)), 

15 path("error", views.system_error, name=routes.name(routes.OAUTH_SYSTEM_ERROR)), 

16]