mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-04 06:38:16 -06:00
16783 fix tests
This commit is contained in:
parent
741e9a82a1
commit
c3deb6508f
@ -2903,6 +2903,7 @@ class InventoryItemTestCase(ViewTestCases.DeviceComponentViewTestCase):
|
|||||||
'part_id': '123456',
|
'part_id': '123456',
|
||||||
'serial': '123ABC',
|
'serial': '123ABC',
|
||||||
'asset_tag': 'ABC123',
|
'asset_tag': 'ABC123',
|
||||||
|
'status': InventoryItemStatusChoices.STATUS_ACTIVE,
|
||||||
'description': 'An inventory item',
|
'description': 'An inventory item',
|
||||||
'tags': [t.pk for t in tags],
|
'tags': [t.pk for t in tags],
|
||||||
}
|
}
|
||||||
@ -2916,6 +2917,7 @@ class InventoryItemTestCase(ViewTestCases.DeviceComponentViewTestCase):
|
|||||||
'discovered': False,
|
'discovered': False,
|
||||||
'part_id': '123456',
|
'part_id': '123456',
|
||||||
'serial': '123ABC',
|
'serial': '123ABC',
|
||||||
|
'status': InventoryItemStatusChoices.STATUS_ACTIVE,
|
||||||
'description': 'An inventory item',
|
'description': 'An inventory item',
|
||||||
'tags': [t.pk for t in tags],
|
'tags': [t.pk for t in tags],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user