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

This commit is contained in:
Daniel Izquierdo 2012-02-20 18:34:31 +09:00
parent 4e11d7d041
commit afb2c01cf3

View File

@ -12,7 +12,7 @@ class MockView(View):
permissions = ()
def get(self, request):
return Response(reverse('another'))
return Response(reverse('another', request))
urlpatterns = patterns('',
url(r'^$', MockView.as_view()),