mirror of
https://github.com/django/django.git
synced 2025-07-28 23:54:02 +00:00
Refs #33308 -- Added get_type_oids() hook and simplified registering type handlers on PostgreSQL.
This commit is contained in:
parent
149b55fefa
commit
d3e746ace5
2 changed files with 27 additions and 33 deletions
|
@ -34,8 +34,9 @@ class OIDTests(PostgreSQLTestCase):
|
|||
self.assertOIDs(array_oids)
|
||||
|
||||
def test_citext_values(self):
|
||||
oids = get_citext_oids(connection.alias)
|
||||
oids, citext_oids = get_citext_oids(connection.alias)
|
||||
self.assertOIDs(oids)
|
||||
self.assertOIDs(citext_oids)
|
||||
|
||||
def test_register_type_handlers_no_db(self):
|
||||
"""Registering type handlers for the nodb connection does nothing."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue