From d29549206bd7ba8c4e5784b1cc8c8387e8bd129a Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 23 Jun 2016 15:02:03 -0400 Subject: [PATCH] Fixed tests to match recent API serializer tweaks --- netbox/dcim/tests/test_apis.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/netbox/dcim/tests/test_apis.py b/netbox/dcim/tests/test_apis.py index 08ab5521a..ffb74cea2 100644 --- a/netbox/dcim/tests/test_apis.py +++ b/netbox/dcim/tests/test_apis.py @@ -205,14 +205,10 @@ class DeviceTypeTest(APITestCase): 'model', 'slug', 'u_height', + 'is_full_depth', 'is_console_server', 'is_pdu', 'is_network_device', - 'console_port_templates', - 'cs_port_templates', - 'interface_templates', - 'power_outlet_templates', - 'power_port_templates', ] nested_fields = [ @@ -324,7 +320,7 @@ class DeviceTest(APITestCase): 'comments', ] - nested_fields = ['id', 'name'] + nested_fields = ['id', 'name', 'display_name'] def test_get_list(self, endpoint='/api/dcim/devices/'): response = self.client.get(endpoint)