Coverage for benefits/enrollment_littlepay/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_LITTLEPAY_INDEX(self): 

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

10 return "littlepay:index" 

11 

12 @property 

13 def ENROLLMENT_LITTLEPAY_TOKEN(self): 

14 """Acquire a Littlepay card tokenization access token for enrollment.""" 

15 return "littlepay:token" 

16 

17 @property 

18 def IN_PERSON_ENROLLMENT_LITTLEPAY_INDEX(self): 

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

20 return "in_person:enrollment_littlepay_index" 

21 

22 @property 

23 def IN_PERSON_ENROLLMENT_LITTLEPAY_TOKEN(self): 

24 """Acquire a Littlepay access token for in-person enrollment.""" 

25 return "in_person:enrollment_littlepay_token" 

26 

27 

28routes = Routes()