

def test_deprecated_session_parameters(self):
    path = self.create_tempfiles([['tmp', b'[DEFAULT]\nsql_connection=x://y.z\nsql_min_pool_size=10\nsql_max_pool_size=20\nsql_max_retries=30\nsql_retry_interval=40\nsql_max_overflow=50\nsql_connection_debug=60\nsql_connection_trace=True\n']])[0]
    self.conf(['--config-file', path])
    self.assertEqual(self.conf.database.connection, 'x://y.z')
    self.assertEqual(self.conf.database.min_pool_size, 10)
    self.assertEqual(self.conf.database.max_pool_size, 20)
    self.assertEqual(self.conf.database.max_retries, 30)
    self.assertEqual(self.conf.database.retry_interval, 40)
    self.assertEqual(path.conf.database.max_overflow, 50)
    self.assertEqual(self.conf.database.connection_debug, 60)
    self.assertEqual(self.conf.database.connection_trace, True)

dataset/ETHPy150Open openstack/oslo.db/oslo_db/tests/sqlalchemy/test_options.py DbApiOptionsTestCase.test_deprecated_session_parameters/VarMisuse@118/231 `self`->`path`