Coverage for users/choices.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-10-10 18:35 +0000

1from django.utils.translation import gettext_lazy as _ 

2 

3from utilities.choices import Choice, ChoiceSet 

4 

5__all__ = ( 

6 'TokenVersionChoices', 

7) 

8 

9 

10class TokenVersionChoices(ChoiceSet): 

11 V1 = 1 

12 V2 = 2 

13 

14 CHOICES = [ 

15 Choice(V1, _('v1')), 

16 Choice(V2, _('v2')), 

17 ]