1
0
mirror of https://github.com/django/django.git synced 2024-12-25 10:35:48 +00:00
django/tests/regressiontests/admin_views
Ramiro Morales 7b21bfc074 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
2011-09-20 18:16:49 +00:00
..
fixtures Fixed typos in admin_views tests XML fixtures. 2011-07-08 14:22:36 +00:00
__init__.py
admin.py Improved test isolation of the admin tests and assigned custom admin sites to 2011-09-20 18:16:49 +00:00
customadmin.py Improved test isolation of the admin tests and assigned custom admin sites to 2011-09-20 18:16:49 +00:00
forms.py Fixed #8342 -- Removed code from the admin that assumed that you can't login with an email address (nixed by r12634). Also refactored login code slightly to be DRY by using more of auth app's forms and views. 2010-12-02 00:44:35 +00:00
models.py Improved test isolation of the admin tests and assigned custom admin sites to 2011-09-20 18:16:49 +00:00
tests.py Improved test isolation of the admin tests and assigned custom admin sites to 2011-09-20 18:16:49 +00:00
urls.py Improved test isolation of the admin tests and assigned custom admin sites to 2011-09-20 18:16:49 +00:00
views.py Replaced old-style with new-style decorator syntax. 2011-05-01 16:46:02 +00:00