summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-10-09 06:23:36 -0700
committerTim Graham <timograham@gmail.com>2018-10-09 09:23:36 -0400
commit31c03486871f654e576326481a13c78206b11251 (patch)
treedeadcd80cfac652b0a6cf4730c36da15ed581b18 /tests/postgres_tests
parent1e87c9fe71703fab23039aa63fafe4f6aac98bbc (diff)
Fixed postgres_tests.test_signals.OIDTests when run in isolation.
Diffstat (limited to 'tests/postgres_tests')
-rw-r--r--tests/postgres_tests/test_signals.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/postgres_tests/test_signals.py b/tests/postgres_tests/test_signals.py
index 87d0f8bfa8..3c6502b5e7 100644
--- a/tests/postgres_tests/test_signals.py
+++ b/tests/postgres_tests/test_signals.py
@@ -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)