summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oslo_db/tests/sqlalchemy/test_exc_filters.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/oslo_db/tests/sqlalchemy/test_exc_filters.py b/oslo_db/tests/sqlalchemy/test_exc_filters.py
index c844fcd..2701632 100644
--- a/oslo_db/tests/sqlalchemy/test_exc_filters.py
+++ b/oslo_db/tests/sqlalchemy/test_exc_filters.py
@@ -1477,15 +1477,15 @@ class TestDBConnectPingWrapping(TestsExceptionFilter):
with self._fixture(dialect_name, exc_obj, 1, is_disconnect):
self.assertRaises(
exception.DBConnectionError,
- self.engine.contextual_connect
+ self.engine.connect
)
self.assertRaises(
exception.DBConnectionError,
- self.engine.contextual_connect
+ self.engine.connect
)
self.assertRaises(
exception.DBConnectionError,
- self.engine.contextual_connect
+ self.engine.connect
)
def test_mysql_w_disconnect_flag(self):