Coverage for benefits/enrollment_switchio/routes.py: 100%

15 statements  

« prev     ^ index     » next       coverage.py v7.16.2, created at 2026-10-08 19:50 +0000

1from benefits.routes import Routes as BenefitsRoutes 

2 

3 

4class Routes(BenefitsRoutes): 

5 """Django routes in the form of `app:name` for this app.""" 

6 

7 @property 

8 def ENROLLMENT_SWITCHIO_INDEX(self): 

9 """Start of the enrollment phase, using Switchio.""" 

10 return "switchio:index" 

11 

12 @property 

13 def ENROLLMENT_SWITCHIO_GATEWAY_URL(self): 

14 """Establish a registration request and receive back a tokenization gateway URL.""" 

15 return "switchio:gateway_url" 

16 

17 @property 

18 def IN_PERSON_ENROLLMENT_SWITCHIO_INDEX(self): 

19 """In-person (e.g. agency assisted) enrollment using Switchio""" 

20 return "in_person:enrollment_switchio_index" 

21 

22 @property 

23 def IN_PERSON_ENROLLMENT_SWITCHIO_GATEWAY_URL(self): 

24 """Switchio Gateway for in-person (e.g. agency assisted) enrollment""" 

25 return "in_person:enrollment_switchio_gateway" 

26 

27 

28routes = Routes()