Fix - run test_head_request_against_viewset method (#7219)

This commit is contained in:
Tom Christie 2020-03-05 13:18:48 +00:00 committed by GitHub
parent 73f7bf4941
commit 4a98533746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,7 @@ class InitializeViewSetsTestCase(TestCase):
assert response.status_code == status.HTTP_200_OK
assert response.data == {'ACTION': 'LIST'}
def testhead_request_against_viewset(self):
def test_head_request_against_viewset(self):
request = factory.head('/', '', content_type='application/json')
my_view = BasicViewSet.as_view(actions={
'get': 'list',