mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 16:48: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(
|
||||
name='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
|
||||
|
@ -765,7 +765,7 @@ class VLANGroupTestCase(ViewTestCases.OrganizationalObjectViewTestCase):
|
||||
cls.form_data = {
|
||||
'name': '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',
|
||||
'tags': [t.pk for t in tags],
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user