aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_relations_hyperlink.py
diff options
context:
space:
mode:
authorTom Christie2015-02-09 17:43:20 +0000
committerTom Christie2015-02-09 17:43:20 +0000
commitb2939c157d32e604e10099be891e382d8c54bbec (patch)
tree6b164989c0b659a2d92051c3fbd6625306056ecb /tests/test_relations_hyperlink.py
parent0669f507b3a63114cf429f0662b1781f0e1fa5f8 (diff)
downloaddjango-rest-framework-b2939c157d32e604e10099be891e382d8c54bbec.tar.bz2
Fixes for latest version of pep8
Diffstat (limited to 'tests/test_relations_hyperlink.py')
-rw-r--r--tests/test_relations_hyperlink.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_relations_hyperlink.py b/tests/test_relations_hyperlink.py
index f1b882ed..2230c275 100644
--- a/tests/test_relations_hyperlink.py
+++ b/tests/test_relations_hyperlink.py
@@ -12,7 +12,9 @@ factory = APIRequestFactory()
request = factory.get('/') # Just to ensure we have a request in the serializer context
-dummy_view = lambda request, pk: None
+def dummy_view(request, pk):
+ pass
+
urlpatterns = patterns(
'',