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:
Florian Apolloner 2022-12-01 09:39:46 +01:00 committed by Mariusz Felisiak
parent 3cafb783f3
commit 149b55fefa
11 changed files with 12 additions and 35 deletions

View file

@ -1,5 +1,3 @@
from django.test import modify_settings
from . import PostgreSQLTestCase
from .models import CharFieldModel, TextFieldModel
@ -16,7 +14,6 @@ except ImportError:
pass
@modify_settings(INSTALLED_APPS={"append": "django.contrib.postgres"})
class TrigramTest(PostgreSQLTestCase):
Model = CharFieldModel