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