mirror of
https://github.com/django/django.git
synced 2025-07-29 16:14:18 +00:00
Refs #33308 -- Ensured type handlers are registered for all PostgreSQL specific tests.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
This commit is contained in:
parent
3cafb783f3
commit
149b55fefa
11 changed files with 12 additions and 35 deletions
|
@ -15,7 +15,7 @@ from django.db import NotSupportedError, connection
|
|||
from django.db.models import CharField, F, Index, Q
|
||||
from django.db.models.functions import Cast, Collate, Length, Lower
|
||||
from django.test import skipUnlessDBFeature
|
||||
from django.test.utils import modify_settings, register_lookup
|
||||
from django.test.utils import register_lookup
|
||||
|
||||
from . import PostgreSQLSimpleTestCase, PostgreSQLTestCase
|
||||
from .fields import SearchVector, SearchVectorField
|
||||
|
@ -235,7 +235,6 @@ class SpGistIndexTests(IndexTestMixin, PostgreSQLSimpleTestCase):
|
|||
)
|
||||
|
||||
|
||||
@modify_settings(INSTALLED_APPS={"append": "django.contrib.postgres"})
|
||||
class SchemaTests(PostgreSQLTestCase):
|
||||
get_opclass_query = """
|
||||
SELECT opcname, c.relname FROM pg_opclass AS oc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue