1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #4994: Add cable attribute to PowerFeed API serializer

This commit is contained in:
Jeremy Stretch
2020-08-13 10:30:28 -04:00
parent b405e8294b
commit ed0e212ce0
4 changed files with 6 additions and 3 deletions

View File

@ -1959,7 +1959,7 @@ class PowerPanelTest(APIViewTestCases.APIViewTestCase):
class PowerFeedTest(APIViewTestCases.APIViewTestCase):
model = PowerFeed
brief_fields = ['id', 'name', 'url']
brief_fields = ['cable', 'id', 'name', 'url']
@classmethod
def setUpTestData(cls):