mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Fixed postgres_tests.test_signals.OIDTests when run in isolation.
This commit is contained in:
parent
1e87c9fe71
commit
31c0348687
@ -18,10 +18,12 @@ class OIDTests(PostgreSQLTestCase):
|
||||
self.assertTrue(all(isinstance(oid, int) for oid in oids))
|
||||
|
||||
def test_hstore_cache(self):
|
||||
get_hstore_oids(connection.alias)
|
||||
with self.assertNumQueries(0):
|
||||
get_hstore_oids(connection.alias)
|
||||
|
||||
def test_citext_cache(self):
|
||||
get_citext_oids(connection.alias)
|
||||
with self.assertNumQueries(0):
|
||||
get_citext_oids(connection.alias)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user