소스 검색

dcim: removed unneeded primary_ip list

Zach Moody 10 년 전
부모
커밋
01d0ba7ee1
1개의 변경된 파일0개의 추가작업 그리고 8개의 파일을 삭제
  1. 0 8
      netbox/dcim/tests/test_apis.py

+ 0 - 8
netbox/dcim/tests/test_apis.py

@@ -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)