mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Switched TestCase to SimpleTestCase where possible in Django's tests.
This commit is contained in:
parent
f091ea3515
commit
193c109327
37 changed files with 130 additions and 134 deletions
|
@ -2091,7 +2091,7 @@ class NoRelationRouter:
|
|||
|
||||
|
||||
@override_settings(DATABASE_ROUTERS=[NoRelationRouter()])
|
||||
class RelationAssignmentTests(TestCase):
|
||||
class RelationAssignmentTests(SimpleTestCase):
|
||||
"""allow_relation() is called with unsaved model instances."""
|
||||
multi_db = True
|
||||
router_prevents_msg = 'the current database router prevents this relation'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue