'Ensure setting multiple domain specific sql drivers is prevented.'

def test_setting_multiple_sql_driver_raises_exception(self):

    new_config = {'identity': {'driver': 'sql'}}
    self.domain_config_api.create_config(CONF.identity.default_domain_id, new_config)
    self.identity_api.domain_configs.get_domain_conf(CONF.identity.default_domain_id)
    self.domain_config_api.create_config(self.domains['domain1']['id'], new_config)
    self.assertRaises(exception.MultipleSQLDriversInConfig, self.identity_api.domain_configs.get_domain_conf, self.domains['domain1']['id'])
