Fix broken test
This commit is contained in:
@@ -855,7 +855,7 @@ class DeviceTypeTest(APITestCase):
|
|||||||
|
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
sorted(response.data['results'][0]),
|
sorted(response.data['results'][0]),
|
||||||
['id', 'manufacturer', 'model', 'slug', 'url']
|
['display_name', 'id', 'manufacturer', 'model', 'slug', 'url']
|
||||||
)
|
)
|
||||||
|
|
||||||
def test_create_devicetype(self):
|
def test_create_devicetype(self):
|
||||||
|
Reference in New Issue
Block a user