'Ensure database domain configs have no effect if disabled.
Set reading from database configs to false, restart the backends
and then try and set and use database configs.'

def test_domain_config_has_no_impact_if_database_support_disabled(self):

    self.config_fixture.config(group='identity', domain_configurations_from_database=False)
    self.load_backends()
    new_config = {'ldap': {'url': uuid.uuid4().hex}}
    self.domain_config_api.create_config(CONF.identity.default_domain_id, new_config)
    self.identity_api.list_users()
    default_config = self.identity_api.domain_configs.get_domain_conf(CONF.identity.default_domain_id)
    self.assertEqual(CONF.ldap.url, default_config.ldap.url)
