django/tests/regressiontests/generic_inline_admin
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 #9592 -- Create data for the generic_inline_admin test during setup instead of via a fixutre since it uses a content type id which will vary depending on what other tests have been run. 2008-11-14 14:47:46 +00:00
__init__.py Fixed #9498 -- Handle a formset correctly when the foreign key is not available (for now). 2008-11-13 19:03:44 +00:00
admin.py Improved test isolation of the admin tests and assigned custom admin sites to 2011-09-20 18:16:49 +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