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
02221f1eed
commit
cb556429f5
@ -883,7 +883,7 @@ class VLANGroupTest(APIViewTestCases.APIViewTestCase):
|
|||||||
vlangroup = VLANGroup.objects.create(
|
vlangroup = VLANGroup.objects.create(
|
||||||
name='VLAN Group X',
|
name='VLAN Group X',
|
||||||
slug='vlan-group-x',
|
slug='vlan-group-x',
|
||||||
vlan_range_ids=string_to_range_array(f"{MIN_VID}-{MAX_VID}")
|
vlan_id_ranges=string_to_range_array(f"{MIN_VID}-{MAX_VID}")
|
||||||
)
|
)
|
||||||
|
|
||||||
# Create a set of VLANs within the group
|
# Create a set of VLANs within the group
|
||||||
|
@ -765,7 +765,7 @@ class VLANGroupTestCase(ViewTestCases.OrganizationalObjectViewTestCase):
|
|||||||
cls.form_data = {
|
cls.form_data = {
|
||||||
'name': 'VLAN Group X',
|
'name': 'VLAN Group X',
|
||||||
'slug': 'vlan-group-x',
|
'slug': 'vlan-group-x',
|
||||||
'vlan_range_ids': string_to_range_array('100-4094'),
|
'vlan_id_ranges': string_to_range_array('100-4094'),
|
||||||
'description': 'A new VLAN group',
|
'description': 'A new VLAN group',
|
||||||
'tags': [t.pk for t in tags],
|
'tags': [t.pk for t in tags],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user