Added Device asset_tag field to API tests

This commit is contained in:
Jeremy Stretch 2016-08-11 13:46:44 -04:00
parent c86a1123f0
commit 2b8e06faa2

View File

@ -327,6 +327,7 @@ class DeviceTest(APITestCase):
'tenant',
'platform',
'serial',
'asset_tag',
'rack',
'position',
'face',
@ -370,6 +371,7 @@ class DeviceTest(APITestCase):
def test_get_list_flat(self, endpoint='/api/dcim/devices/?format=json_flat'):
flat_fields = [
'asset_tag',
'comments',
'device_role_id',
'device_role_name',