

def test_deprecated_dbapi_parameters(self):
    path = self.create_tempfiles([['tmp', b'[DEFAULT]\ndb_backend=test_123\n']])[0]
    self.conf(['--config-file', path])
    self.assertEqual(self.conf.database.backend, 'test_123')

dataset/ETHPy150Open openstack/oslo.db/oslo_db/tests/sqlalchemy/test_options.py DbApiOptionsTestCase.test_deprecated_dbapi_parameters/original