mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
dcim: removed unneeded primary_ip list
This commit is contained in:
@ -322,14 +322,6 @@ class DeviceTest(APITestCase):
|
||||
|
||||
nested_fields = ['id', 'name']
|
||||
|
||||
# Holds primary IP nested fields until api tests
|
||||
# can be made and fields imported.
|
||||
primary_ip = [
|
||||
'id',
|
||||
'family',
|
||||
'address'
|
||||
]
|
||||
|
||||
def test_get_list(self, endpoint='/api/dcim/devices/'):
|
||||
response = self.client.get(endpoint)
|
||||
content = json.loads(response.content)
|
||||
|
Reference in New Issue
Block a user