Przeglądaj źródła

Fix broken test

Jeremy Stretch 7 lat temu
rodzic
commit
3b4bcc881f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      netbox/dcim/tests/test_api.py

+ 1 - 1
netbox/dcim/tests/test_api.py

@@ -855,7 +855,7 @@ class DeviceTypeTest(APITestCase):
 
         self.assertEqual(
             sorted(response.data['results'][0]),
-            ['id', 'manufacturer', 'model', 'slug', 'url']
+            ['display_name', 'id', 'manufacturer', 'model', 'slug', 'url']
         )
 
     def test_create_devicetype(self):