mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-21 19:47:20 -06:00
Added Device asset_tag field to API tests
This commit is contained in:
parent
c86a1123f0
commit
2b8e06faa2
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user