Commit a29ca6c2 by Daniel Izquierdo

Pass the request object to `reverse' in the reverse tests

parent f5badcf8
...@@ -11,7 +11,7 @@ class MockView(View): ...@@ -11,7 +11,7 @@ class MockView(View):
permissions = () permissions = ()
def get(self, request): def get(self, request):
return reverse('another') return reverse('another', request)
urlpatterns = patterns('', urlpatterns = patterns('',
url(r'^$', MockView.as_view()), url(r'^$', MockView.as_view()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment