1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Update exempted tests

This commit is contained in:
Jeremy Stretch
2020-05-22 16:33:56 -04:00
parent 77a49fa40e
commit 635fefcb5c
6 changed files with 46 additions and 16 deletions

View File

@@ -351,7 +351,7 @@ class ViewTestCases:
# Try GET without permission
with disable_warnings('django.request'):
self.assertHttpStatus(self.client.get(instance.get_absolute_url()), 403)
self.assertHttpStatus(self.client.get(self._get_url('delete', instance)), 403)
# Try POST without permission
request = {