mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed test failures introduced in refs #23861.
This commit is contained in:
parent
ce17b045bf
commit
789baf9c3a
2 changed files with 7 additions and 4 deletions
|
@ -2,8 +2,10 @@ from django.db import models
|
|||
from django.core import checks
|
||||
from django.test import SimpleTestCase
|
||||
|
||||
from .tests import IsolateModelsMixin
|
||||
|
||||
class TestDeprecatedField(SimpleTestCase):
|
||||
|
||||
class TestDeprecatedField(IsolateModelsMixin, SimpleTestCase):
|
||||
def test_default_details(self):
|
||||
class MyField(models.Field):
|
||||
system_check_deprecated_details = {}
|
||||
|
@ -43,7 +45,7 @@ class TestDeprecatedField(SimpleTestCase):
|
|||
])
|
||||
|
||||
|
||||
class TestRemovedField(SimpleTestCase):
|
||||
class TestRemovedField(IsolateModelsMixin, SimpleTestCase):
|
||||
def test_default_details(self):
|
||||
class MyField(models.Field):
|
||||
system_check_removed_details = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue