1
0
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:
Jeremy Stretch
2020-11-02 16:56:04 -05:00
parent 9fae11a42f
commit 2bb79a2773
5 changed files with 44 additions and 11 deletions

View File

@ -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)