2
0
Jeremy Stretch 5 жил өмнө
parent
commit
1d5f2fbd11

+ 1 - 1
netbox/utilities/testing/testcases.py

@@ -158,7 +158,7 @@ class ViewTestCases:
             self.assertHttpStatus(response, 200)
 
         @override_settings(EXEMPT_VIEW_PERMISSIONS=['*'])
-        def test_list_objects_anonymous(self):
+        def test_get_object_anonymous(self):
             # Make the request as an unauthenticated user
             self.client.logout()
             response = self.client.get(self.model.objects.first().get_absolute_url())