mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Add missing bulk update test data
This commit is contained in:
@ -36,6 +36,9 @@ class SecretRoleTest(APIViewTestCases.APIViewTestCase):
|
||||
'slug': 'secret-role-6',
|
||||
},
|
||||
]
|
||||
bulk_update_data = {
|
||||
'description': 'New description',
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def setUpTestData(cls):
|
||||
@ -112,6 +115,10 @@ class SecretTest(APIViewTestCases.APIViewTestCase):
|
||||
},
|
||||
]
|
||||
|
||||
self.bulk_update_data = {
|
||||
'role': secret_roles[1].pk,
|
||||
}
|
||||
|
||||
def prepare_instance(self, instance):
|
||||
# Unlock the plaintext prior to evaluation of the instance
|
||||
instance.decrypt(self.master_key)
|
||||
|
Reference in New Issue
Block a user