mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-25 08:46:10 -06:00
Update test_api.InterfaceTest create_data
This commit is contained in:
parent
9b3794ec6d
commit
18754fe8dc
@ -1539,7 +1539,7 @@ class InterfaceTest(Mixins.ComponentTraceMixin, APIViewTestCases.APIViewTestCase
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
'device': device.pk,
|
'device': device.pk,
|
||||||
'vdcs': vdcs[0].pk,
|
'vdcs': [vdcs[0].pk],
|
||||||
'name': 'Interface 6',
|
'name': 'Interface 6',
|
||||||
'type': 'virtual',
|
'type': 'virtual',
|
||||||
'mode': InterfaceModeChoices.MODE_TAGGED,
|
'mode': InterfaceModeChoices.MODE_TAGGED,
|
||||||
@ -1550,7 +1550,7 @@ class InterfaceTest(Mixins.ComponentTraceMixin, APIViewTestCases.APIViewTestCase
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
'device': device.pk,
|
'device': device.pk,
|
||||||
'vdcs': vdcs[1].pk,
|
'vdcs': [vdcs[1].pk],
|
||||||
'name': 'Interface 7',
|
'name': 'Interface 7',
|
||||||
'type': InterfaceTypeChoices.TYPE_80211A,
|
'type': InterfaceTypeChoices.TYPE_80211A,
|
||||||
'tx_power': 10,
|
'tx_power': 10,
|
||||||
@ -1559,7 +1559,7 @@ class InterfaceTest(Mixins.ComponentTraceMixin, APIViewTestCases.APIViewTestCase
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
'device': device.pk,
|
'device': device.pk,
|
||||||
'vdcs': vdcs[1].pk,
|
'vdcs': [vdcs[1].pk],
|
||||||
'name': 'Interface 8',
|
'name': 'Interface 8',
|
||||||
'type': InterfaceTypeChoices.TYPE_80211A,
|
'type': InterfaceTypeChoices.TYPE_80211A,
|
||||||
'tx_power': 10,
|
'tx_power': 10,
|
||||||
|
Loading…
Reference in New Issue
Block a user