aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBrandon Cazander2015-02-02 20:41:06 -0800
committerBrandon Cazander2015-02-02 20:41:06 -0800
commitf3067a7fabdd0edb5bc5f48cfdadd2850866c189 (patch)
tree2784bd3caaacb272a826713f39114dbd0ab25447 /tests
parent77d061d234e03004f34058028707ecddfc730fae (diff)
downloaddjango-rest-framework-f3067a7fabdd0edb5bc5f48cfdadd2850866c189.tar.bz2
Remove unnecessary APIRequestFactory get from tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_relations.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_relations.py b/tests/test_relations.py
index b82a1f2a..ff377d38 100644
--- a/tests/test_relations.py
+++ b/tests/test_relations.py
@@ -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