summaryrefslogtreecommitdiff
path: root/tests/urls.py
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2011-09-20 18:16:49 +0000
committerRamiro Morales <cramm0@gmail.com>2011-09-20 18:16:49 +0000
commit7b21bfc0745f92f83a6826a3d3e58797fb74e326 (patch)
treeacd08401267e495b6569e858268d94cb9f8449d4 /tests/urls.py
parentfc06ec0daf563718e3ea96634040878c85bb2ebd (diff)
downloaddjango-7b21bfc0745f92f83a6826a3d3e58797fb74e326.tar.gz
Improved test isolation of the admin tests and assigned custom admin sites to
prevent test order dependant failures. This involves introducing usage of `TestCase.urls` and implementing proper admin.py modules for some of the test apps. Thanks Florian Apolloner for finding the issue and contributing the patch. Refs #15294 (it solves these problems so the fix for that ticket we are going to commit doesn't introduce obscure and hard to reproduce test failures when running the Django test suite.) git-svn-id: http://code.djangoproject.com/svn/django/trunk@16856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/urls.py')
-rw-r--r--tests/urls.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/urls.py b/tests/urls.py
index 654111de60..044395039d 100644
--- a/tests/urls.py
+++ b/tests/urls.py
@@ -22,10 +22,6 @@ urlpatterns = patterns('',
# test urlconf for middleware tests
(r'^middleware/', include('regressiontests.middleware.urls')),
- # admin view tests
- (r'^test_admin/', include('regressiontests.admin_views.urls')),
- (r'^generic_inline_admin/', include('regressiontests.generic_inline_admin.urls')),
-
# admin widget tests
(r'widget_admin/', include('regressiontests.admin_widgets.urls')),