mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +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
|
@ -7,11 +7,15 @@ from django.test import SimpleTestCase, TestCase, modify_settings
|
|||
|
||||
|
||||
@unittest.skipUnless(connection.vendor == "postgresql", "PostgreSQL specific tests")
|
||||
# To register type handlers and locate the widget's template.
|
||||
@modify_settings(INSTALLED_APPS={"append": "django.contrib.postgres"})
|
||||
class PostgreSQLSimpleTestCase(SimpleTestCase):
|
||||
pass
|
||||
|
||||
|
||||
@unittest.skipUnless(connection.vendor == "postgresql", "PostgreSQL specific tests")
|
||||
# To register type handlers and locate the widget's template.
|
||||
@modify_settings(INSTALLED_APPS={"append": "django.contrib.postgres"})
|
||||
class PostgreSQLTestCase(TestCase):
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue