From 1d5f2fbd117add86ad03d843092ffdd140c12cd1 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Fri, 5 Jun 2020 09:19:31 -0400 Subject: [PATCH] Correct test method name --- netbox/utilities/testing/testcases.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/utilities/testing/testcases.py b/netbox/utilities/testing/testcases.py index 149ae8000..ea393152d 100644 --- a/netbox/utilities/testing/testcases.py +++ b/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())