mirror of
https://github.com/django/django.git
synced 2025-08-30 15:27:40 +00:00
Fixed #25746 -- Isolated inlined test models registration.
Thanks to Tim for the review.
This commit is contained in:
parent
3096f4b082
commit
a08fda2111
29 changed files with 285 additions and 371 deletions
|
@ -1,9 +1,10 @@
|
|||
from django.db import models
|
||||
|
||||
from .base import IsolatedModelsTestCase
|
||||
from django.test import SimpleTestCase
|
||||
from django.test.utils import isolate_apps
|
||||
|
||||
|
||||
class CustomFieldTest(IsolatedModelsTestCase):
|
||||
@isolate_apps('invalid_models_tests')
|
||||
class CustomFieldTest(SimpleTestCase):
|
||||
|
||||
def test_none_column(self):
|
||||
class NoColumnField(models.AutoField):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue