Ignored deprecation warnings for CreationIndexesTests
This commit is contained in:
parent
9699d8446e
commit
b3ebcb22a9
|
@ -3,11 +3,12 @@ from unittest import skipUnless
|
||||||
from django.core.management.color import no_style
|
from django.core.management.color import no_style
|
||||||
from django.db import connection
|
from django.db import connection
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
|
from django.test.utils import IgnorePendingDeprecationWarningsMixin
|
||||||
|
|
||||||
from .models import Article, IndexTogetherSingleList
|
from .models import Article, IndexTogetherSingleList
|
||||||
|
|
||||||
|
|
||||||
class CreationIndexesTests(TestCase):
|
class CreationIndexesTests(IgnorePendingDeprecationWarningsMixin, TestCase):
|
||||||
"""
|
"""
|
||||||
Test index handling by the to-be-deprecated connection.creation interface.
|
Test index handling by the to-be-deprecated connection.creation interface.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue