mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Enforce object creation permissions
This commit is contained in:
@@ -305,6 +305,7 @@ device-bays:
|
||||
'format': 'yaml'
|
||||
}
|
||||
response = self.client.post(reverse('dcim:devicetype_import'), data=form_data, follow=True)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
|
||||
dt = DeviceType.objects.get(model='TEST-1000')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user