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 f5badcf80c
commit a29ca6c2d0

View File

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