From 31c03486871f654e576326481a13c78206b11251 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Tue, 9 Oct 2018 06:23:36 -0700 Subject: [PATCH] Fixed postgres_tests.test_signals.OIDTests when run in isolation. --- tests/postgres_tests/test_signals.py | 2 ++ 1 file changed, 2 insertions(+) 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)