瀏覽代碼

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)