diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2010-11-04 12:39:11 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2010-11-04 12:39:11 +0000 |
| commit | 74b566e81ccb0e12372bcd5828e9724f4aee8f1b (patch) | |
| tree | d05a57c2ba9a6a4102b9220f10f2daafbcf4d9e2 | |
| parent | b66df2f49e55886058351bc0aa9cded5500de2f5 (diff) | |
[1.2.X] Fixed a test setup and isolation bug that was causing PasswordResetTest to fail when run individually
Backport of [14455] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/auth/tests/urls.py | 2 | ||||
| -rw-r--r-- | django/contrib/auth/tests/views.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/auth/tests/urls.py b/django/contrib/auth/tests/urls.py index f94b8daa7f..2003d5e805 100644 --- a/django/contrib/auth/tests/urls.py +++ b/django/contrib/auth/tests/urls.py @@ -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), diff --git a/django/contrib/auth/tests/views.py b/django/contrib/auth/tests/views.py index 4b32fec4e1..808de1052e 100644 --- a/django/contrib/auth/tests/views.py +++ b/django/contrib/auth/tests/views.py @@ -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 |
