mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 00:04:16 +03:00
Remove unnecessary APIRequestFactory get from tests.
This commit is contained in:
parent
77d061d234
commit
f3067a7fab
|
@ -9,7 +9,6 @@ from rest_framework.versioning import NamespaceVersioning
|
|||
import pytest
|
||||
|
||||
factory = APIRequestFactory()
|
||||
request = factory.get('/') # Just to ensure we have a request in the serializer context
|
||||
|
||||
dummy_view = lambda request, pk: None
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user