Coverage for tenancy/choices.py: 100%

8 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# 

6# Contacts 

7# 

8 

9 

10class ContactPriorityChoices(ChoiceSet): 

11 PRIORITY_PRIMARY = 'primary' 

12 PRIORITY_SECONDARY = 'secondary' 

13 PRIORITY_TERTIARY = 'tertiary' 

14 PRIORITY_INACTIVE = 'inactive' 

15 

16 CHOICES = ( 

17 Choice(PRIORITY_PRIMARY, _('Primary')), 

18 Choice(PRIORITY_SECONDARY, _('Secondary')), 

19 Choice(PRIORITY_TERTIARY, _('Tertiary')), 

20 Choice(PRIORITY_INACTIVE, _('Inactive')), 

21 )