Correct test method name

This commit is contained in:
Jeremy Stretch 2020-06-05 09:19:31 -04:00
parent 4219691e62
commit 1d5f2fbd11

View File

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