Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.2.X] Fixed a test setup and isolation bug that was causing Passwor…

…dResetTest to fail when run individually

Backport of [14455] from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 74b566e81ccb0e12372bcd5828e9724f4aee8f1b 1 parent b66df2f
@spookylukey spookylukey authored
2  django/contrib/auth/tests/
@@ -10,7 +10,7 @@ def remote_user_auth_view(request):
return HttpResponse(t.render(c))
# special urls for auth test cases
-urlpatterns += patterns('',
+urlpatterns = urlpatterns + patterns('',
(r'^logout/custom_query/$', 'django.contrib.auth.views.logout', dict(redirect_field_name='follow')),
(r'^logout/next_page/$', 'django.contrib.auth.views.logout', dict(next_page='/somewhere/')),
(r'^remote_user/$', remote_user_auth_view),
2  django/contrib/auth/tests/
@@ -16,7 +16,7 @@ class AuthViewsTestCase(TestCase):
Helper base class for all the follow test cases.
fixtures = ['authtestdata.json']
- urls = 'django.contrib.auth.urls'
+ urls = 'django.contrib.auth.tests.urls'
def setUp(self):
self.old_LANGUAGES = settings.LANGUAGES
Please sign in to comment.
Something went wrong with that request. Please try again.