Correct test method name
This commit is contained in:
parent
4219691e62
commit
1d5f2fbd11
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Reference in New Issue