mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-15 21:09:36 -06:00
Fix test
This commit is contained in:
parent
7edea73f85
commit
fe95d89db3
@ -65,7 +65,7 @@ class CableTerminationSerializer(NetBoxModelSerializer):
|
|||||||
]
|
]
|
||||||
read_only_fields = fields
|
read_only_fields = fields
|
||||||
brief_fields = (
|
brief_fields = (
|
||||||
'id', 'url', 'display', 'cable', 'cable_end', 'termination_type', 'termination_id', 'position',
|
'id', 'url', 'display', 'cable', 'cable_end', 'position', 'termination_type', 'termination_id',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2427,7 +2427,7 @@ class CableTerminationTest(
|
|||||||
APIViewTestCases.ListObjectsViewTestCase,
|
APIViewTestCases.ListObjectsViewTestCase,
|
||||||
):
|
):
|
||||||
model = CableTermination
|
model = CableTermination
|
||||||
brief_fields = ['cable', 'cable_end', 'display', 'id', 'termination_id', 'termination_type', 'url']
|
brief_fields = ['cable', 'cable_end', 'display', 'id', 'position', 'termination_id', 'termination_type', 'url']
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpTestData(cls):
|
def setUpTestData(cls):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user