Coverage for circuits/constants.py: 100%
3 statements
« prev ^ index » next coverage.py v7.15.2, created at 2026-10-10 18:35 +0000
« prev ^ index » next coverage.py v7.15.2, created at 2026-10-10 18:35 +0000
1from django.db.models import Q
3# models values for ContentTypes which may be CircuitTermination termination types
4CIRCUIT_TERMINATION_TERMINATION_TYPES = (
5 'region', 'sitegroup', 'site', 'location', 'providernetwork',
6)
8CIRCUIT_GROUP_ASSIGNMENT_MEMBER_MODELS = Q(
9 app_label='circuits',
10 model__in=['circuit', 'virtualcircuit']
11)