Explorar el Código

Merge pull request #8 from digitalocean/devicetypetest-add-fields

dcim: add standard_fields to DeviceTypeTest.
Zach Moody hace 10 años
padre
commit
b5df1ecfae
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      netbox/dcim/tests/test_apis.py

+ 6 - 1
netbox/dcim/tests/test_apis.py

@@ -207,7 +207,12 @@ class DeviceTypeTest(APITestCase):
         'u_height',
         'is_console_server',
         'is_pdu',
-        'is_network_device'
+        'is_network_device',
+        'console_port_templates',
+        'cs_port_templates',
+        'interface_templates',
+        'power_outlet_templates',
+        'power_port_templates',
     ]
 
     nested_fields = [