Merge "Use connect, not contextual_connect"

This commit is contained in:
Zuul 2019-08-16 16:23:12 +00:00 committed by Gerrit Code Review
commit fb40cdb7a9
1 changed files with 3 additions and 3 deletions

View File

@ -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):