mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-10 19:56:59 +03:00
Fix - run test_head_request_against_viewset method (#7219)
This commit is contained in:
parent
73f7bf4941
commit
4a98533746
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue
Block a user