mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +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:
committed by
Mariusz Felisiak
parent
3cafb783f3
commit
149b55fefa
@@ -5,14 +5,12 @@ strings and thus eliminates the need for operations such as iexact and other
|
||||
modifiers to enforce use of an index.
|
||||
"""
|
||||
from django.db import IntegrityError
|
||||
from django.test.utils import modify_settings
|
||||
from django.utils.deprecation import RemovedInDjango51Warning
|
||||
|
||||
from . import PostgreSQLTestCase
|
||||
from .models import CITestModel
|
||||
|
||||
|
||||
@modify_settings(INSTALLED_APPS={"append": "django.contrib.postgres"})
|
||||
class CITextTestCase(PostgreSQLTestCase):
|
||||
case_sensitive_lookups = ("contains", "startswith", "endswith", "regex")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user