Explorar el Código

Correct test method name

Jeremy Stretch hace 5 años
padre
commit
1d5f2fbd11
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      netbox/utilities/testing/testcases.py

+ 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())