mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-09 00:58:16 -06:00
9627 fix tests
This commit is contained in:
parent
0ec51039f8
commit
2800cd0373
@ -633,7 +633,9 @@ class VLANGroupForm(NetBoxModelForm):
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
slug = SlugField()
|
slug = SlugField()
|
||||||
vlan_id_ranges = NumericRangeArrayField()
|
vlan_id_ranges = NumericRangeArrayField(
|
||||||
|
required=False
|
||||||
|
)
|
||||||
|
|
||||||
fieldsets = (
|
fieldsets = (
|
||||||
FieldSet('name', 'slug', 'description', 'tags', name=_('VLAN Group')),
|
FieldSet('name', 'slug', 'description', 'tags', name=_('VLAN Group')),
|
||||||
|
@ -251,7 +251,7 @@ class VLANType(NetBoxObjectType):
|
|||||||
class VLANGroupType(OrganizationalObjectType):
|
class VLANGroupType(OrganizationalObjectType):
|
||||||
|
|
||||||
vlans: List[VLANType]
|
vlans: List[VLANType]
|
||||||
vlan_id_ranges: List[int]
|
vlan_id_ranges: List[str]
|
||||||
|
|
||||||
@strawberry_django.field
|
@strawberry_django.field
|
||||||
def scope(self) -> Annotated[Union[
|
def scope(self) -> Annotated[Union[
|
||||||
|
Loading…
Reference in New Issue
Block a user