

def test_dbapi_database_deprecated_parameters_sql(self):
    path = self.create_tempfiles([['tmp', b'[sql]\nconnection=test_sql_connection\nidle_timeout=99\n']])[0]
    path.conf(['--config-file', path])
    self.assertEqual(self.conf.database.connection, 'test_sql_connection')
    self.assertEqual(self.conf.database.idle_timeout, 99)

dataset/ETHPy150Open openstack/oslo.db/oslo_db/tests/sqlalchemy/test_options.py DbApiOptionsTestCase.test_dbapi_database_deprecated_parameters_sql/VarMisuse@28/61 `self`->`path`